slab / quill

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

Code Highlighting Not Going Away When Code Formatting Is Removed #2357

Closed efake2002 closed 5 months ago

efake2002 commented 5 years ago

Hey, found another bug in Quill/HighlightJs. Don't know if this is something you can fix on your side or if it would be easy to fix on our side. Anyway, here is the bug:

Steps for Reproduction

  1. Go to https://quilljs.com/
  2. Click inside the demo editor
  3. Make a new line by pressing enter
  4. Click on the code formatting button in the toolbar
  5. Type a random programming keyword like "for" or "if" or "function"
  6. Wait and Let HighlightJS highlight the keyword
  7. Then press the code formatting button in the toolbar again to take away to code formatting

And that is where the bug lies. The keywords will still remain highlighted. Please fix this ASAP and if it can't be fixed soon on your side, please provide some way that we can get around this bug.

Thanks.

volser commented 5 years ago

dup: https://github.com/quilljs/quill/issues/1993

quill-bot commented 5 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: