[wp-trac] [WordPress Trac] #36636: allow add_editor_style() to include inline style (was: allow ADD_EDITOR_STYLE() to include inline style)

WordPress Trac noreply at wordpress.org
Fri Apr 22 17:00:21 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:
-------------------------+------------------------------
Changes (by swissspidy):

 * type:  defect (bug) => enhancement
 * version:   => 3.0
 * component:  General => Editor


Old description:

> ADD_EDITOR_STYLE()  needs to return an url of style... but it is not
> always convenient for quick testing.
> please, give us ability, to code inside that function, like this:
>
> add_editor_style( "<style> .somehting{.....}</style>");
>
> thanks.

New description:

 `add_editor_style()`  needs to return an url of style... but it is not
 always convenient for quick testing.
 please, give us ability, to code inside that function, like this:

 {{{#!php
 add_editor_style( "<style> .somehting{.....}</style>" );
 }}}

 thanks.

--

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36636#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list