[wp-trac] [WordPress Trac] #39248: TinyMCE JavaScript editor is broken in 4.7
WordPress Trac
noreply at wordpress.org
Mon Dec 12 23:16:21 UTC 2016
#39248: TinyMCE JavaScript editor is broken in 4.7
-----------------------------+---------------------------------------------
Reporter: argonius | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: TinyMCE | Version: 4.7
Severity: normal | Resolution:
Keywords: close 2nd- | Focuses: ui, javascript, administration
opinion |
-----------------------------+---------------------------------------------
Changes (by argonius):
* keywords: close => close 2nd-opinion
Comment:
That makes sense, thanks for clarifications.
I found an alternative solution that allows me to force TinyMCE view by
default, but it's just a hack:
{{{
if(!tinyMCE.activeEditor)jQuery('.wp-editor-wrap .switch-
tmce').trigger('click');
}}}
It would be more convenient to have methods on TinyMCE object for checking
current view state, as well as support for switching to a desired state
programmatically. If you think that this might be a good idea for
improvement, it would be nice to have another ticket for that, otherwise,
I'm fine to close this one.
Thanks for the help!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39248#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list