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

Content is not being save while using grammarly as extension. #755

Closed
wotta opened this issue May 2, 2019 · 3 comments
Closed

Content is not being save while using grammarly as extension. #755

wotta opened this issue May 2, 2019 · 3 comments

Comments

@wotta
Copy link

wotta commented May 2, 2019

Today I noticed some strange behavior when using editorjs with the following plugins.

"@editorjs/editorjs": {
    "version": "2.13.0",
    "resolved": "https://registry.npmjs.org/@editorjs/editorjs/-/editorjs-2.13.0.tgz",
    "integrity": "sha512-oeYsIRvm0bSUJsggZK0marTYfatXILhESoqshwGnPCinaEbA1VAAWfc74saMLuTmujyefgQE2qYjHpKyZNM0mQ==",
    "dev": true,
    "requires": {
        "codex-notifier": "^1.1.2"
    }
},
"@editorjs/embed": {
    "version": "2.2.0",
    "resolved": "https://registry.npmjs.org/@editorjs/embed/-/embed-2.2.0.tgz",
    "integrity": "sha512-jWjFL6VyiGlezSWQRvddMHpidGHy2blUS9lmtNxuIZRwob6Xizg8LweKSFEvjr9tPLqKyX3sIeSQlnCb1vntJQ==",
    "dev": true
},
"@editorjs/header": {
    "version": "2.2.3",
    "resolved": "https://registry.npmjs.org/@editorjs/header/-/header-2.2.3.tgz",
    "integrity": "sha512-eFPgsT/OJA7HxCl4idrH1ccZEkmVZWfEmwo7DysOAb2DI+5/IcBIVZbPv6EapjL6MOEHKzON8lCI4jQOaBJlLw==",
    "dev": true
},
"@editorjs/image": {
    "version": "2.3.0",
    "resolved": "https://registry.npmjs.org/@editorjs/image/-/image-2.3.0.tgz",
    "integrity": "sha512-KoGPtpdpS5Wbjz/peHa8oy53C89gDATADSNae3hfl89DzttToWKNiSf7T4IVmYvqa4k1+FRpe0KRSlCzWxYIlA==",
    "dev": true
},
"@editorjs/link": {
    "version": "2.1.2",
    "resolved": "https://registry.npmjs.org/@editorjs/link/-/link-2.1.2.tgz",
    "integrity": "sha512-hIMMYFNU2AIdF0KRrlSGzsMDeiSoo4/AXxA9FkIRerMyNIoBRENK56UpCdWDnDveW0hkNvWlO7dKG/VwPyifnw==",
    "dev": true,
    "requires": {
        "@babel/runtime": "^7.3.1"
    }
},
"@editorjs/list": {
    "version": "1.3.4",
    "resolved": "https://registry.npmjs.org/@editorjs/list/-/list-1.3.4.tgz",
    "integrity": "sha512-hj/yJXUjpAsh946js4zK0eHTnKJOiXXg6wpvTisQbQ3sjtKmUdS/KAyvihKhkKMa1y8SDR3L4K/3raPryyLC1A==",
    "dev": true
},
"@editorjs/paragraph": {
    "version": "2.5.0",
    "resolved": "https://registry.npmjs.org/@editorjs/paragraph/-/paragraph-2.5.0.tgz",
    "integrity": "sha512-73HwzALLcEhgyxd7j0g2v8a21GfEDBhk/aCifYMRoygf6gk3/1wBJO0DmnUZVcKwdRgXmHOWRjY5yyCCe1NnDQ=="
},
"@editorjs/table": {
    "version": "1.2.0",
    "resolved": "https://registry.npmjs.org/@editorjs/table/-/table-1.2.0.tgz",
    "integrity": "sha512-pCcNf/9JzVWQw6TsqUHew73UoVSYTftXviKVqsnVazx4/D8eH5g5fsEY5L0LEl9KC0mJMJij+h6I1ge70kDlgg==",
    "dev": true
},

If I have typed a paragraph and try to save it, it doesn't have the paragraph value.
Instead, it has the value that Grammarly shows in their error counter.

See the following screenshot for more information about what I mean.

Is there a way to confine the data that Editor.js takes?

@nicholasgriffintn
Copy link

You can add data-gramm_editor="false" to inputs to disable Grammarly, not sure if this will work with other elements though.

@wotta
Copy link
Author

wotta commented May 3, 2019

@nicholasgriffintn I tried this and it doesn't seem to work on the main div that Editor.js uses.

I will check if I can add it to the paragraph and heading fields as a custom attribute.

@neSpecc
Copy link
Member

neSpecc commented Dec 13, 2019

Resolved in 2.16 #966

@neSpecc neSpecc closed this as completed Dec 13, 2019
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

4 participants