jquery - CKEditor set data, clicking on text area after clearing text set? -
I have a CKAditor and when I click on a drop down, this set populates the editor with the data function is.
But when the user clicks on the area, he clears all the text.
If a user first clicks on the field, then he writes a letter and then changes to the drop down to populate the editor, that's fine.
@ Html.TextAreaFor (model = & gt; model. Message, new {id = "email-body", placeholder = "start typing your message ...", auto- Integer = "off" Ckeditor.instances ["email-body"]. SetData (msg.success) How to stop onclick special placeholder in ccditor but no help?
It may work for you.
CKEDITOR.instances [" Email-body "] .updateElement (); CKEDITOR.instances [" Email Body "] setData ('').
Comments
Post a Comment