slab / quill

Quill is a modern WYSIWYG editor built for compatibility and extensibility
https://quilljs.com
BSD 3-Clause "New" or "Revised" License
43.18k stars 3.35k forks source link

iOS auto-correct doesn't work after pressing enter #4346

Open kasrak opened 1 month ago

kasrak commented 1 month ago

Steps for Reproduction

See Loom: https://www.loom.com/share/9618a424ff9d4d4a908c6a920e9320ca

  1. Visit quilljs.com/playground/snow on an iOS simulator/device
  2. Type in "Forst", note that it auto-corrects to "First"
  3. Press "return"
  4. Type in "forst" again, now it doesn't auto-correct.
  5. Press "space", type in "forst" again, now it does auto-correct.

Expected behavior:

It should auto-correct on step 4.

Actual behavior:

It doesn't auto-correct.

Platforms:

iOS 17 Safari

Version:

2.0.2

kasrak commented 1 month ago

A related weird thing: the auto-correct suggestions include the last word of the previous line when typing the first word on a new line:

image