Search code examples
javascriptgoogle-chrome-extensiongrammarly

How to integrate with Grammarly


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>

Solution

  • Now it's possible to integrate via Grammarly Text Editor SDK in really straightforward and clean way.

    Here is editor SDK React example.