Twenty Fourteen: Fixes table block not having same design in editors.

The table block did not have the same design in the editor for front and back. This resolves the issue for the front end editor.

Props pranitdugad, nidjidhandhukiya, poena, shailu25, hmbashar, ugyensupport.
Fixes #60293.

Built from https://develop.svn.wordpress.org/trunk@58399


git-svn-id: http://core.svn.wordpress.org/trunk@57848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Tammie Lister 2024-06-13 09:53:12 +00:00
parent 77184c1516
commit f473b7c02b
3 changed files with 12 additions and 3 deletions

View File

@ -237,12 +237,17 @@ p.has-drop-cap:not(:focus)::first-letter {
overflow-x: visible;
}
.wp-block-table th,
.wp-block-table td {
.wp-block-table:not(.is-style-stripes) th,
.wp-block-table:not(.is-style-stripes) td {
border-color: rgba(0, 0, 0, 0.1);
border-width: 0 1px 1px 0;
}
.wp-block-table:not(.is-style-stripes) table[class*="-text-color"] * {
border-color: inherit;
border: 1px solid;
}
/*--------------------------------------------------------------
4.0 Blocks - Layout Elements
--------------------------------------------------------------*/

View File

@ -196,6 +196,10 @@ Description: Used to style blocks in the editor.
text-align: right;
}
.editor-styles-wrapper .wp-block-table:not(.is-style-stripes) table:not([class*="-text-color"]) * {
border-color: rgba(0, 0, 0, 0.1);
}
/* Quotes */
.wp-block-freeform.block-library-rich-text__tinymce blockquote {

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.6-beta2-58398';
$wp_version = '6.6-beta2-58399';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.