We are making contenteditable editor. Wondering how to stop extensions like grammarly (if enabled) on editor page using javascript as these extensions insert their own html in the editor itself. It's giving us lot of problems while saving the data.
Checked Medium editor and extnesion/add-on doesn't work over there. Any reference or solution to this kind of problem? Searched a lot but couldn't find a solution for it. Thanks in advance
To disable Grammarly, you can add attributes on the <textarea>
element. The attributes keep changing, but you can add all of them to be safe.
data-gramm="false"
data-gramm_editor="false"
data-enable-grammarly="false"