slab / quill

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

The cursor jumps to the beginning #2575

Closed LEFTEQ closed 6 months ago

LEFTEQ commented 5 years ago

The cursor jumps to the beginning in codeblock when placed on 0 index (as first character). (Edge)

Steps for Reproduction

  1. Visit https://quilljs.com/playground/#form-submit
  2. Delete text and add code block
  3. Start typing into code block

Expected behavior: When I type e.g. "Dog" I would expect to be "Dog"

Actual behavior: I get ogD

Platforms: Edge (44.17763), Windows 10

Include browser, operating system and respective versions

Version:

1.3.6

iamwhitebox commented 5 years ago

@LEFTEQ check that your debounceTime is at least 400 if using rxjs

sudofox commented 3 years ago

Having a very similar issue with Quill inside of Vue. Kinda irritating

Shreyas-BS commented 2 years ago

Having a very similar issue in Lit Element. Any fixes for it??

quill-bot commented 6 months ago

Quill 2.0 has been released (announcement post) with many changes and fixes. If this is still an issue please create a new issue after reviewing our updated Contributing guide :pray: