Item14631: Unable to save from Wysiwyg. Error in jquery.natedit.js 4.02 line 854
Priority: Urgent
Current State: Waiting for Release
Released In: 2.2.0
Target Release: minor
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