Fix TinyMCE 4 compatibility
-
WordPress with TinyMCE 4 will break the editor display:
>> Uncaught TypeError: Cannot call method ‘add’ of undefined
The event onInit isn’t used anymore.
Instead you bind it like this:
ed.on("init", function(ed) ...
https://www.ads-software.com/plugins/preserve-editor-scroll-position/
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Fix TinyMCE 4 compatibility’ is closed to new replies.