You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. I use script from readme to init TinyMCE for dynamically loaded elements: jQuery(document).ready(function() { $('form').on('sonata.add_element', function(){ initTinyMCE(); }); });
But I got error in browser console: Uncaught TypeError: textarea.tinymce is not a function at HTMLTextAreaElement.<anonymous> (init.jquery.js:65) at Function.each (jquery.js:374) at n.fn.init.each (jquery.js:139) at HTMLDocument.<anonymous> (init.jquery.js:15) at j (jquery.js:3099) at Object.add [as done] (jquery.js:3145) at n.fn.init.n.fn.ready (jquery.js:3378) at new n.fn.init (jquery.js:2821) at n (jquery.js:76) at init.jquery.js:9
The text was updated successfully, but these errors were encountered:
Hello. I use script from readme to init TinyMCE for dynamically loaded elements:
jQuery(document).ready(function() { $('form').on('sonata.add_element', function(){ initTinyMCE(); }); });
But I got error in browser console:
Uncaught TypeError: textarea.tinymce is not a function at HTMLTextAreaElement.<anonymous> (init.jquery.js:65) at Function.each (jquery.js:374) at n.fn.init.each (jquery.js:139) at HTMLDocument.<anonymous> (init.jquery.js:15) at j (jquery.js:3099) at Object.add [as done] (jquery.js:3145) at n.fn.init.n.fn.ready (jquery.js:3378) at new n.fn.init (jquery.js:2821) at n (jquery.js:76) at init.jquery.js:9
The text was updated successfully, but these errors were encountered: