Skip to content
Snippets Groups Projects
Commit 8d57916a authored by chris's avatar chris
Browse files

disable browser's spellchecker

parent c52e68f7
No related branches found
No related tags found
1 merge request!186add katex fonts
...@@ -42,6 +42,9 @@ export default props => { ...@@ -42,6 +42,9 @@ export default props => {
transformPasted: slice => { transformPasted: slice => {
return transformPasted(slice, view); return transformPasted(slice, view);
}, },
attributes: {
spellcheck: 'false',
},
}, },
); );
......
...@@ -46,6 +46,9 @@ export default ({ node, view }) => { ...@@ -46,6 +46,9 @@ export default ({ node, view }) => {
handleKeyPress: (noteEditorView, from, to, content) => { handleKeyPress: (noteEditorView, from, to, content) => {
updateMainView = false; updateMainView = false;
}, },
attributes: {
spellcheck: 'false',
},
}, },
); );
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment