How To Add Tinymce 4.x Dynamically To Textarea?
I have a little problem with adding tinymce dynamically to textarea after init. tinymce.init({ selector: 'textarea', theme: 'modern', height: 100, plugins: [
Solution 1:
Have you tried calling tinymce.init
function after the appendTo function?
jQuery functions operates synchronously, one at a time. That means, your init function will run after the appentTo
completes, and that means, you don't need a callback for that.
Just write your tinymce.init
funtion after the appendTo
and get back here to tell the result :)
Post a Comment for "How To Add Tinymce 4.x Dynamically To Textarea?"