Make WordPress Core


Ignore:
Timestamp:
11/12/2018 10:34:50 AM (8 years ago)
Author:
azaozz
Message:

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.

Fixes #45264.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/5.0/src/wp-includes/css/editor.css

    r43784 r43889  
    360360.mce-toolbar .mce-btn-group {
    361361    margin: 0;
     362}
     363
     364/* Classic block hide/show toolbars */
     365.block-library-classic__toolbar .mce-toolbar-grp .mce-toolbar:not(:first-child) {
     366    display: none;
     367}
     368
     369.block-library-classic__toolbar.has-advanced-toolbar .mce-toolbar-grp .mce-toolbar {
     370    display: block;
    362371}
    363372
Note: See TracChangeset for help on using the changeset viewer.