[wp-trac] [WordPress Trac] #36636: allow add_editor_style() to include inline style
WordPress Trac
noreply at wordpress.org
Fri Apr 22 17:03:48 UTC 2016
#36636: allow add_editor_style() to include inline style
-------------------------+------------------------------
Reporter: selnomeria | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 3.0
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------+------------------------------
Comment (by swissspidy):
`add_editor_style()` is meant for theme developers to make the editor
style look more like the front-end of the site ("What you see is what you
get").
This is usually done by either using a specific stylesheet in the theme or
creating an `editor-style.css` file which uses `@import` to load the
necessary styles.
How would allowing inline styles help here? You can also debug your CSS
when it's in a separate file.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36636#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list