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 .
在JQTE Editior中包含一个属性contenteditable默认情况下它是 true 如果我们设置 false 那么它是只读模式
$("#jqte editior id").find(".jqte_editor").attr("contenteditable","false");
$(".jqte_editor").prop('contenteditable','false');