javascript - How To Reinitialize tinyMCE with fresh data after an AJAX Call? -


i have page used both create , update. when user writes name , if name doesn't exist in database added along newly created description (through tinymce plugin) (this part works perfectly). when user selects existing name, ajax request fired pull description. able pull description correctly response (text) not shown in tinymce. using latest version of tinymce.

my question how can reinitialize tinymce control has been initialize on page load, or there other way achieve this, want existing description updated

you don't need perform re-initialize editor, using below command tinymce.activeeditor.setcontent('some content here') instead. can try this?


Comments

Popular posts from this blog

How to run C# code using mono without Xamarin in Android? -

c# - SharpSsh Command Execution -

python - Specify path of savefig with pylab or matplotlib -