[wp-trac] [WordPress Trac] #60826: Fix incorrect use of add_theme_support( 'editor-style(s)' )
WordPress Trac
noreply at wordpress.org
Thu Jun 20 17:43:04 UTC 2024
#60826: Fix incorrect use of add_theme_support( 'editor-style(s)' )
-------------------------------------------------+-------------------------
Reporter: Soean | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.6
Component: Themes | Version:
Severity: normal | Resolution:
Keywords: has-patch reporter-feedback dev- | Focuses:
feedback |
-------------------------------------------------+-------------------------
Changes (by hellofromTonya):
* keywords: has-patch => has-patch reporter-feedback dev-feedback
Comment:
Is the block editor using these functions?
These functions are intended and are documented for the TinyMCE (see
[13441] and [16721]).
For example, `add_editor_style()` is
[https://developer.wordpress.org/reference/functions/add_editor_style/
documented as]:
>Adds callback for custom TinyMCE editor stylesheets.
I'm curious what the impact might be of changing these instances and if
any shims might be needed for older and non-block themes using them.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60826#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list