mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Block Editor: Fix the TinyMCE wordpress plugin to handle hiding/showing of toolbars in the classic block. Change the classic block toolbar to use the (now fixed) wp_adv button.
Props azaozz. Merges [43889] and [43890] to trunk. Fixes #45264. git-svn-id: https://develop.svn.wordpress.org/trunk@44247 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -361,6 +361,15 @@ div.mce-toolbar-grp > div {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Classic block hide/show toolbars */
|
||||
.block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar {
|
||||
display: block;
|
||||
}
|
||||
|
||||
div.mce-statusbar {
|
||||
border-top: 1px solid #e5e5e5;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user