We want to have grammar check while user editing the content.
How we do that?
Firstly, we register a Grammarly account at https://developer.grammarly.com/
Add allowed domain of the Sitefinity instance.
Copy the client id as we are going to follow this approach: https://developer.grammarly.com/docs/editor-sdk-intro#usage
With the html tag and script.
<grammarly-editor-plugin> <textarea></textarea> </grammarly-editor-plugin> <script src="https://cdn.jsdelivr.net/npm/@grammarly/editor-sdk?clientId=YOUR_CLIENT_ID"></script>
Also pre-requisite for CMS, adding content security policy (CSP) rule:script sources
*.grammarly.com *.grammarly.io wss://capi.grammarly.com
Two places to amend, the custom sf-html-field and the adminapp
Result at pop up editing RTE: