Make WordPress Core

Changes between Initial Version and Version 3 of Ticket #55183


Ignore:
Timestamp:
06/10/2022 11:45:17 PM (4 years ago)
Author:
sabernhardt
Comment:

The problem is in the editor. Twenty Thirteen had removed the table cell border, but the editor replaced class names such as .editor-block-list__block. Now the table border inherits the text color.

Changes proposed in 55183.diff:

  • Use .block-editor-block-list__block class for table styles, while maintaining the old class name for older versions.
  • Set the cell padding to 0.5em to match the (editor) theme.css on the front end.
  • For consideration, I added a focus outline like the editor once had used on an .is-selected class. Otherwise, table content can be more difficult to edit with a very light border at the top and bottom but nothing on the left or right sides.

Similar revisions would be necessary for tables in these themes:

  • Twenty Twelve (which also does not show the text in a custom color—see #56466)
  • Twenty Fourteen
  • Twenty Seventeen

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #55183

    • Property Component General → Bundled Theme
    • Property Keywords has-patch added; needs-patch removed
    • Property Version 5.9 → 5.4
  • Ticket #55183 – Description

    initial v3  
    11Steps:
    2     1.Switch theme to Twenty Thirteen
    3     2.Create Table and change color after update
    4     3.Check the frontpage
     21. Switch theme to Twenty Thirteen
     32. Create Table and change color after update
     43. Check the frontpage
    55
    66Add the video Link below: