Twenty Twenty-One: Add `b` and `strong` elements to editor styles.

Sets `font-weight: 700` for these elements in the editor, in order to match the front end styles. It overrides the default admin `font-weight` of `600` for 
these HTML elements.

Props nkeller15, audrasjb, sabernhardt, pavanpatil1, iamfarhan09, poena.
Fixes #58383.



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


git-svn-id: http://core.svn.wordpress.org/trunk@55684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2023-07-09 15:49:23 +00:00
parent f22f958bb5
commit 1765de0770
4 changed files with 17 additions and 1 deletions

View File

@ -119,6 +119,11 @@
}
}
b,
strong {
font-weight: 700;
}
blockquote {
padding: 0;
position: relative;

View File

@ -302,6 +302,11 @@
}
}
b,
strong {
font-weight: 700;
}
blockquote {
padding: 0;
position: relative;

View File

@ -9,6 +9,12 @@
@import "03-generic/breakpoints";
// Add relevant styles from "04-elements/misc"
b,
strong {
font-weight: 700;
}
@import "04-elements/blockquote";
@import "04-elements/media";
@import "04-elements/forms-editor";

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.3-beta3-56171';
$wp_version = '6.3-beta3-56172';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.