Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disabling grammarly with ember-mobile-doc #159

Open
nolman opened this issue Sep 28, 2018 · 1 comment
Open

Disabling grammarly with ember-mobile-doc #159

nolman opened this issue Sep 28, 2018 · 1 comment

Comments

@nolman
Copy link

nolman commented Sep 28, 2018

Mobile doc and grammarly do not play well together. I don't believe it is currently possible to use the suggested workaround in ember-mobiledoc-editor? Setting data-gramm="false" does nothing.

Maybe I am missing something? If not I can open a PR to fix this.

@chrisgame
Copy link
Contributor

chrisgame commented Feb 4, 2019

I've fixed it by adding the following to the component I have that wraps ember-mobiledoc-editor

didRender() {                                                                                                                                                                                                                     
  let editorElement = this.element.querySelector('.mobiledoc-editor__editor');                                                                                                                                                    
  editorElement.setAttribute('data-gramm', false);                                                                                                                                                                                
}, 

@lukemelia lukemelia pinned this issue Jun 9, 2020
@lukemelia lukemelia changed the title Disabling grammarly with ember-mobile-doc? Disabling grammarly with ember-mobile-doc Jun 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants