Item14631: Unable to save from Wysiwyg. Error in jquery.natedit.js 4.02 line 854

pencil
Priority: Urgent
Current State: Waiting for Release
Released In: 2.2.0
Target Release: minor
Applies To: Extension
Component: NatEditPlugin
Branches: master Item14288
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
Uncaught TypeError: Cannot read property 'dispatch' of undefined
    at yb.<anonymous> (jquery.natedit.js?version=4.02:854)
    at Function.each (jquery-2.2.4.js:365)
    at $.NatEditor.beforeSubmit (jquery.natedit.js?version=4.02:853)
    at doIt (jquery.natedit.js?version=4.02:884)
    at HTMLAnchorElement.<anonymous> (jquery.natedit.js?version=4.02:902)
    at HTMLAnchorElement.dispatch (jquery-2.2.4.js:4737)
    at HTMLAnchorElement.elemData.handle (jquery-2.2.4.js:4549)

​ Also fails on trunk.foswiki.org with Wysiwyg. Works okay with plain text edit.

I tried reverting to TinyMCE 4.7.5, but it still fails.

Looked through the TinyMCE bug tracker but nothing jumped out as obvious.

-- GeorgeClark - 18 Feb 2018

This is a change in TinyMCE's API

-- MichaelDaum - 18 Feb 2018
 
Topic revision: r8 - 13 Jun 2018, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy