I'm have a service where users write literature. I'm encouraging them to use third party services like Grammarly to check the texts. But I'm using contentEditable and Grammarly doesn't seem to trigger in all views. Any ideas on how to call Grammarly or make Grammarly trigger for specific DOM elements?
<div id="editor" contenteditable="true" placeholder="Then this happened..."></div>
You can enable initialization of Grammarly extension by special attribute: data-enable-grammarly="true"
You can find more information about this attribute here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With