[wp-trac] [WordPress Trac] #26872: TinyMCE 4.0 and missing/changed ID attributes
WordPress Trac
noreply at wordpress.org
Sun Jan 19 04:51:39 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 |
--------------------------+--------------------
Changes (by azaozz):
* keywords: => close
Comment:
> 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'.
This is part of the new TinyMCE UI. All buttons are now <button> and the
icons are added from the icon font (that is replaced with dashicons) on
<i> elements.
> 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'.
DFW was upgraded too. Before it used to create another TinyMCE instance
and title field, now it "rises" the existing editor instance and title,
and adds a blocker div behind them. This simplifies its operation quite a
bit.
As before, DFW can be opened by executing
`tinymce.execCommand('wpFullScreen')`, no need to search for the button,
etc. Also all the rest of the DFW elements are the same. Only there are no
new title and editor.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26872#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list