[wp-trac] [WordPress Trac] #26872: TinyMCE 4.0 and missing/changed ID attributes
WordPress Trac
noreply at wordpress.org
Sun Jan 19 02:24:31 UTC 2014
#26872: TinyMCE 4.0 and missing/changed ID attributes
--------------------------+-----------------------------
Reporter: GregRoss | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: TinyMCE | Version: trunk
Severity: normal | Keywords:
--------------------------+-----------------------------
I pulled down the development release with TinyMCE 4.0 in it and started
to test my plugin (http://wordpress.org/plugins/just-writing/) with the
new code (let's just say I knew it was going to be ugly)
Many of the old ID tags on elements have either been dropped, changed to
classes or made virtually useless.
For example:
- In WP3.8, the fullscreen button was an 'a' link with the id of
'content_wp_fullscreen' in WP3.9 it is now a 'div' with an id of 'mce_28'
(if you dig a little deeper there's an 'i' with a class of
'mce-i-wp_fullscreen'.
- In distraction free writing mode, the title input box used to have an ID
of 'wp-fullscreen-title', now there is no ID and it has a class of 'wp-
fullscreen-title'.
- In distraction free writing mode, the body input div use to have an ID
of 'wp-fullscreen-container' now it has an id of 'wp-content-editor-
container'.
Some of these are probably TinyMCE (like the buttons) but for those that
can be maintained it would be nice to have the ID's present and consistent
with 3.8 if possible.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26872>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list