Quill: turn off spell check in quill

Created on 7 Aug 2018  路  2Comments  路  Source: quilljs/quill

How do you turn off spellcheck in quill?

I've tried:

document.body.setAttribute('spellcheck', false);

and

var quillEditor = new Quill('#editor-container', {
                       theme: 'bubble',
                       readOnly: false,
                       modules: {
                           history: {
                               delay: 2000,
                               maxStack: 100
                           }
                       }
});
quillEditor.spellcheck = false;
quillEditor.focus();
quillEditor.blur();

And neither is working

Most helpful comment

@joshoconnor89 The following should turn off spellcheck

const quill = new Quill('#editor-container')
quill.root.setAttribute('spellcheck', false)

All 2 comments

@joshoconnor89 The following should turn off spellcheck

const quill = new Quill('#editor-container')
quill.root.setAttribute('spellcheck', false)

Thanks RyanV.

Was this page helpful?
0 / 5 - 0 ratings