[wp-trac] [WordPress Trac] #46173: TinyMCE: Improve styling for the Classic Block
WordPress Trac
noreply at wordpress.org
Fri Mar 15 23:34:59 UTC 2019
#46173: TinyMCE: Improve styling for the Classic Block
--------------------------+---------------------
Reporter: azaozz | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.2
Component: TinyMCE | Version: 5.0
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+---------------------
Comment (by azaozz):
In 46173.patch:
- First run :)
- Split editor.css into `classic-editor.css`, `wplink.css` and `tinymce-
icons-override.css`.
- Add an `editor-buttons` "group" to script-loader for back-compat.
- Add a param to `wp_enqueue_editor()` and
`_WP_Editors::enqueue_default_editor()` to distinguish which editor is
being loaded, 'classic" or 'block'.
This is the first half of the patch. The second needs to go in the
[https://github.com/WordPress/gutenberg/blob/master/packages/block-
library/src/classic/editor.scss classic block scss], and both have to be
added at the same time to core to avoid breaking the classic block's
styling.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46173#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list