Hello,
how can i disable the complete component of htmleditor?
Using the normal jQuery methods for disabling the editor showed no effect.
hey,
Since the HTML Editor uses contenteditable="true", you can completely disable editing in the following way:
$("#htmlEditor").find("iframe").contents().find("body").attr("contenteditable", "false")
where "htmlEditor" is the ID of your element.
Let me know if this helps. Thanks,
Angel
Yes, it works. Thanks for this.
But i also would like to disable all toolbar buttons.