Changeset 3250078
- Timestamp:
- 03/04/2025 06:32:34 AM (13 months ago)
- Location:
- tcd-classic-editor/trunk
- Files:
-
- 3 deleted
- 4 edited
-
assets/css/editor.css (modified) (3 diffs)
-
assets/js/classic-block.js (deleted)
-
assets/js/editor.js (modified) (1 diff)
-
classes/block-editor-plugin.js (deleted)
-
classes/class-tcdce-support.php (deleted)
-
readme.txt (modified) (2 diffs)
-
tcd-classic-editor.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tcd-classic-editor/trunk/assets/css/editor.css
r3248450 r3250078 11 11 --tcdce-base-margin-bottom-pc: 40px; 12 12 --tcdce-base-margin-bottom-sp: 30px; 13 --tcdce-half-leading: calc((1em - 1lh) / 2); 13 14 14 15 /* オプション */ … … 529 530 530 531 /* ベースマージン */ 531 :is( 532 .tcdce-body,533 .editor-styles-wrapper, 534 .tcdce-body .wp-block-group__inner-container 535 ) 536 > *:has(+ *) {532 :is(.tcdce-body, .editor-styles-wrapper) > *:has(+ *) { 533 margin-bottom: var(--tcdce-base-margin-bottom-pc); 534 } 535 536 /* グループブロック対策 */ 537 .tcdce-body .wp-block-group__inner-container > *:has(+ *) { 537 538 margin-bottom: var(--tcdce-base-margin-bottom-pc); 538 539 } … … 604 605 /* paragraph */ 605 606 :is(.tcdce-body, .editor-styles-wrapper) p:has(+ *) { 606 margin: 0 0 calc(var(--tcdce-base-margin-bottom-pc) - 0.7em); 607 margin: 0 0 608 calc(var(--tcdce-base-margin-bottom-pc) + var(--tcdce-half-leading)); 607 609 } 608 610 -
tcd-classic-editor/trunk/assets/js/editor.js
r3248450 r3250078 32 32 // 最後の要素 33 33 const lastEl = el.lastElementChild; 34 if (isTextOnlyParagraph( firstEl)) {35 firstEl.style.marginBottom = "calc((1em - 1lh) / 2)";34 if (isTextOnlyParagraph(lastEl)) { 35 lastEl.style.marginBottom = "calc((1em - 1lh) / 2)"; 36 36 } 37 37 }); -
tcd-classic-editor/trunk/readme.txt
r3248450 r3250078 4 4 Requires at least: 6.7 5 5 Tested up to: 6.7 6 Stable tag: 1.2 6 Stable tag: 1.2.1 7 7 Requires PHP: 8.0 8 8 License: GPLv2 or later … … 47 47 48 48 == Changelog == 49 = 1.2.1 = 50 * Updated: Minor CSS adjustments for improved design. 51 49 52 = 1.2 = 50 53 * Changed: Implemented import/export functionality and fixed styling issues. -
tcd-classic-editor/trunk/tcd-classic-editor.php
r3248450 r3250078 4 4 * Plugin URI: 5 5 * Description: This is a classic editor extension plug-in for TCD users. 6 * Version: 1.2 6 * Version: 1.2.1 7 7 * Author: TCD 8 8 * Author URI: https://tcd-theme.com/
Note: See TracChangeset
for help on using the changeset viewer.