From ee10ddb605590d5675441023157bd78c3ac74f8b Mon Sep 17 00:00:00 2001 From: Tammie Lister Date: Mon, 6 May 2024 14:02:12 +0000 Subject: [PATCH] Twenty Thirteen: Updates table font size in editor and front. The table font size wasn't reflecting in editor and front. What this does is keep the default and adds in an inherit. Props umesh84, desrosj, shailu25, harshgajipara, darshitrajyaguru97, itpathsolutions. Fixes #56204. Built from https://develop.svn.wordpress.org/trunk@58103 git-svn-id: http://core.svn.wordpress.org/trunk@57568 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentythirteen/css/blocks.css | 5 +++++ wp-content/themes/twentythirteen/css/editor-blocks.css | 5 +++++ wp-includes/version.php | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/twentythirteen/css/blocks.css b/wp-content/themes/twentythirteen/css/blocks.css index 5eb588a4a6..d86c1b24ff 100644 --- a/wp-content/themes/twentythirteen/css/blocks.css +++ b/wp-content/themes/twentythirteen/css/blocks.css @@ -290,6 +290,11 @@ body:not(.sidebar) .wp-block-cover > .wp-block-cover__inner-container > * { border-top: 1px solid #ededed; } +.wp-block-table[style*="font-size"] *, +.wp-block-table[class*="-font-size"] * { + font-size: inherit; +} + body:not(.sidebar) .wp-block-table.alignwide, body:not(.sidebar) .wp-block-table.alignfull { width: 100%; diff --git a/wp-content/themes/twentythirteen/css/editor-blocks.css b/wp-content/themes/twentythirteen/css/editor-blocks.css index 8daa0b0915..6139063036 100644 --- a/wp-content/themes/twentythirteen/css/editor-blocks.css +++ b/wp-content/themes/twentythirteen/css/editor-blocks.css @@ -331,6 +331,11 @@ p.has-drop-cap:not(:focus)::first-letter { padding: 0; } +.editor-styles-wrapper .wp-block-table[style*="font-size"] *, +.editor-styles-wrapper .wp-block-table[class*="-font-size"] * { + font-size: inherit; +} + /*-------------------------------------------------------------- 6.0 Blocks - Layout Elements --------------------------------------------------------------*/ diff --git a/wp-includes/version.php b/wp-includes/version.php index 0ae61a7f38..7243a85fbd 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.6-alpha-58102'; +$wp_version = '6.6-alpha-58103'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.