Plugin Directory

Changeset 3250078


Ignore:
Timestamp:
03/04/2025 06:32:34 AM (13 months ago)
Author:
DesignPlus
Message:

Release version 1.2.1

Location:
tcd-classic-editor/trunk
Files:
3 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • tcd-classic-editor/trunk/assets/css/editor.css

    r3248450 r3250078  
    1111  --tcdce-base-margin-bottom-pc: 40px;
    1212  --tcdce-base-margin-bottom-sp: 30px;
     13  --tcdce-half-leading: calc((1em - 1lh) / 2);
    1314
    1415  /* オプション */
     
    529530
    530531/* ベースマージン */
    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(+ *) {
    537538  margin-bottom: var(--tcdce-base-margin-bottom-pc);
    538539}
     
    604605/* paragraph */
    605606: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));
    607609}
    608610
  • tcd-classic-editor/trunk/assets/js/editor.js

    r3248450 r3250078  
    3232      // 最後の要素
    3333      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)";
    3636      }
    3737    });
  • tcd-classic-editor/trunk/readme.txt

    r3248450 r3250078  
    44Requires at least: 6.7
    55Tested up to: 6.7
    6 Stable tag: 1.2
     6Stable tag: 1.2.1
    77Requires PHP: 8.0
    88License: GPLv2 or later
     
    4747
    4848== Changelog ==
     49= 1.2.1 =
     50* Updated: Minor CSS adjustments for improved design.
     51
    4952= 1.2 =
    5053* Changed: Implemented import/export functionality and fixed styling issues.
  • tcd-classic-editor/trunk/tcd-classic-editor.php

    r3248450 r3250078  
    44 * Plugin URI:
    55 * Description: This is a classic editor extension plug-in for TCD users.
    6  * Version: 1.2
     6 * Version: 1.2.1
    77 * Author: TCD
    88 * Author URI: https://tcd-theme.com/
Note: See TracChangeset for help on using the changeset viewer.