mercredi 13 avril 2016

ckeditor plugin functionality not working after using setData("hai");

I'm using the ck-editor(3.6.0). In Ck-editor's textarea I want to update my text, for that I use setData("hai"); that text updating correctly but some plugin functionality not working after use this setData(); (eg. restrict multiple enter if I reload the page it's working correctly).

editorInstance.setData("test text");

Anyway first time and after reload the page it working fine.

ruby on rails with jquery things are I'm using.

If anyone know any-other way to solve this pls share with me. Thanks.

Aucun commentaire:

Enregistrer un commentaire