ckeditor5 icon indicating copy to clipboard operation
ckeditor5 copied to clipboard

Todo list get broken when a extra espace is found in markdown

Open jmverges opened this issue 6 months ago • 1 comments

📝 Provide detailed reproduction steps (if any)

  1. You type a todo list, then you see the cursor is to close to the checkbox
  2. image
  3. You type a space as first character to make it look good
  4. Your list is broken

✔️ Expected result

Todo list is not broken

❌ Actual result

It is broken image image

❓ Possible solution

This make it at least not look to near to the checkbox

.ck-editor__editable.ck-content .todo-list .todo-list__label > span[contenteditable=false] {
    display: inline-block;
}

However the proper solution should be like if you have a * and then N times a space a later [] remove the redundant spaces

📃 Other details

  • Browser: Chrome
  • First affected CKEditor version: "^43.0.0"
  • Installed CKEditor plugins: Markdown

If you'd like to see this fixed sooner, add a 👍 reaction to this post.

jmverges avatar Aug 23 '24 08:08 jmverges