I have a froala editor in my application and I'm trying to disable/enable it based on a button click. Any idea how to do this?
I tried setting contenteditable=false but on clicking the editor it becomes editable. Nothing seems to be working. Is there any event that i can subscribebe to and set it disabled?