laurent22 / joplin

Joplin - the privacy-focused note taking app with sync capabilities for Windows, macOS, Linux, Android and iOS.
https://joplinapp.org
Other
46.12k stars 5.02k forks source link

List autocompletion not working if current list item ends with HTML code #11318

Open laurent22 opened 1 week ago

laurent22 commented 1 week ago

Create a list like so in the new Markdown editor:

- [ ] One
- [ ] Two <span style="color: #2b0d3e;">Test/span>

Position the cursor at the end of the second list item and press Enter

=> Instead of starting a new list item with - [ ], it starts an empty line

Note: This doesn't happen with the legacy text editor.

personalizedrefrigerator commented 1 week ago

I can reproduce this in a Markdown editor on the CodeMirror try it page.

personalizedrefrigerator commented 1 week ago

Upstream bug report: https://github.com/codemirror/dev/issues/1462

laurent22 commented 1 week ago

Thanks for submitting the report! And it looks like it's already fixed