Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #58355, comment 10

Timestamp:
06/12/2024 05:49:22 PM (4 weeks ago)
Author:
sabernhardt
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #58355, comment 10

    initial v1  
    1 As the patch for #59602 addresses more editor issues now, [attachment:"58355.2.diff"] makes some similar changes for Twenty Sixteen plus a few more:
     1As the patch for #59602 addresses more editor issues now, [attachment:"58355.2.diff"] makes some similar changes for Twenty Sixteen:
    22
    33- Removes the redundant font size rules for table elements (`th`, `td`, `caption`) as 59912.2.patch proposed. When a user does not select a special font size for a Table or Calendar block, the table cells continue to appear at 16px, inheriting from the `body`.
     
    66- Changes `text-align` to `start` so it works the same way in RTL without needing to update the extra `.rtl` rule to a `[dir="rtl"]` selector to apply within the iframe. Anyone using the //editor// should have a browser that supports `start` (it's not worth changing on the front end). These changes apply to table elements plus figure captions.
    77- Removes the RTL `text-align` rulesets because `start` makes them unnecessary.
    8 - Adds the RTL font selection in `editor-styles.css` for the iframe editor and Classic Editor. The non-framed editor would be more difficult to correct (because it adds `.editor-styles-wrapper` to the selector), but this font has not worked in any editor context for a long time (if ever).
     8- Adds the RTL font selection ).