Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TinyMCE - oneTimeClick, changes the target of the floatpanel query #1754

Closed
wants to merge 1 commit into from

Commits on Feb 13, 2017

  1. TinyMCE - oneTimeClick, changes the target of the floatpanel query

    As outlined in ticket U4-9524, if the "Formats" dropdown on the TinyMCE editor used, then the RTE is destroyed, the "floatpanel" element still exists in the DOM.
    If the RTE is re-created, and the "Formats" dropdown selected again, this will force the editor control to close (and not apply the formatting).
    
    This fix is to workaround the orphaned "floatpanel" elements in the DOM, by changing the target of the jQuery selector from `el` to `event.target`.
    e.g. `el` would equal the tag-name ("span"), _bit too generic_,, whereas `event.target` would be the "Formats" menu item element.
    
    ref: http://issues.umbraco.org/issue/U4-9524
    leekelleher committed Feb 13, 2017
    Configuration menu
    Copy the full SHA
    0864e82 View commit details
    Browse the repository at this point in the history