[wp-trac] [WordPress Trac] #27463: TinyMCE buttons markup changed in WP 3.9 Beta 1
WordPress Trac
noreply at wordpress.org
Thu Mar 20 00:29:57 UTC 2014
#27463: TinyMCE buttons markup changed in WP 3.9 Beta 1
-------------------------------+-----------------------------
Reporter: dennis_f | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: TinyMCE | Version: trunk
Severity: normal | Keywords:
Focuses: ui, accessibility |
-------------------------------+-----------------------------
I have noticed that the TinyMCE buttons markup has changed, which makes
the custom buttons that we have created invisible, as the CSS selectors
used to set the icons don't match anymore.
For example, in 3.8 the following selector is used to set the blockquote
button icon (in wp-includes/css/editor.css):
{{{
span.mce_blockquote:before
}}}
and in 3.9 the following selector is used instead:
{{{
i.mce-i-blockquote:before
}}}
I understand that this is probably the default markup of TinyMCE 4.0, but
I just wanted to report this issue in case there could be some kind of
solution to keep the old selectors working, so that there are fewer issues
with the buttons that the plugin/theme developers create.
Here is how my custom buttons look like on WP 3.9 Beta 1 - empty line,
there are several buttons added to the third line (I have highlighted one
of the buttons with the browser developer tools, just to show that it is
there):
[[Image(http://imageshack.com/a/img703/566/j4ja.png)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27463>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list