[wp-trac] [WordPress Trac] #26872: TinyMCE 4.0 and missing/changed ID attributes
WordPress Trac
noreply at wordpress.org
Sun Jan 19 14:12:59 UTC 2014
#26872: TinyMCE 4.0 and missing/changed ID attributes
--------------------------+--------------------
Reporter: GregRoss | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.9
Component: TinyMCE | Version: trunk
Severity: normal | Resolution:
Keywords: close |
--------------------------+--------------------
Comment (by GregRoss):
Tinymce.on won't work for me as my javascript could execute before the
tinymce object is created, the trigger looks like it could work, but would
require different code for 3.8 and 3.9. I can also just update my
current code to look for the new 'i' and it's class, or just pick a low
numbered mce_ id that will always be present. Lots of ways to get around
the issue.
However, while I may be the only one with the issue, if it can be
consistent with the old version then it may avoid breaking other plugins
as well.
The mce_#s kind of seem useless now as you can't use them to identify any
given button, only a random button.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26872#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list