Skip to content
This repository has been archived by the owner on Mar 11, 2020. It is now read-only.

Fix to Support Grammarly Extension #70

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

didacpr
Copy link

@didacpr didacpr commented Nov 27, 2019

Using this angular module you can allow the Grammarly Extension using the following code:

onEditorCreated(quill) {
    quill.root.removeAttribute('data-gramm');
}

The problem is that the Grammarly Extension adds a Div node in the Editor, causing the text-change event to update the NgModel with the wrong HTML code.
With this fix the NgModel will be updated properly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant