Reputation: 10378
i am using JQTE editor. i want to disable this editor on some condition.that after this condition edit can't be done in this.
how will i do this?
any help appreciated .
Upvotes: 1
Views: 5251
Reputation: 10378
in JQTE Editior contain a property contenteditable by default it is true if we set false then it is in readonly mode
$("#jqte editior id").find(".jqte_editor").attr("contenteditable","false");
Upvotes: 4