Quill: Performance issue for large content

Created on 6 Sep 2017  路  2Comments  路  Source: quilljs/quill

Hi,
I try to use quill to display a long article, when I make a range selection, the editor becomes very laggy. However, if I set editor to read only mode, selection speed back to reasonably fast.

Steps for Reproduction

  1. Visit this codepen
  2. make selection couple of times
  3. set readOnly to true
  4. make selection again

Platforms:

Google Chrome 60.0

Version:

1.3.2

Most helpful comment

I found the reason, the browser default spell checking slowed down the editor since there are so many typos in that article.

The solution is to put spell-check="false" to editor container element:

<div id="quill-editor" spell-check="false"></div>

I am going to close this issue

All 2 comments

And I try the codepen in IE, the editor is surprisingly fast, is it related to Chrome itself?

I found the reason, the browser default spell checking slowed down the editor since there are so many typos in that article.

The solution is to put spell-check="false" to editor container element:

<div id="quill-editor" spell-check="false"></div>

I am going to close this issue

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DaniilVeriga picture DaniilVeriga  路  3Comments

splacentino picture splacentino  路  3Comments

CHR15- picture CHR15-  路  3Comments

eamodio picture eamodio  路  3Comments

benbro picture benbro  路  3Comments