ckeditor / ckeditor5

Powerful rich text editor framework with a modular architecture, modern integrations, and features like collaborative editing.
https://ckeditor.com/ckeditor-5
Other
9.52k stars 3.7k forks source link

New checklist items should default to being unchecked #12356

Closed TiZ-HugLife closed 9 months ago

TiZ-HugLife commented 2 years ago

📝 Provide a description of the improvement

Hi there. I'm using Trilium Notes, which uses CKEditor. I recently made a feature request to improve checklists that includes for new checklist items to be unchecked by default; if you're adding an item to a checklist, it's almost always something you haven't done yet. But I noticed that CKEditor itself provides this functionality, and in the demo page you can see that the current behavior is for the new checklist item to have the same checked state as the item where the cursor is. It seems that Trilium Notes' behavior with checklists comes from this component, so that's why I'm here.

Thank you for your time! :)

📃 Other details


If you'd like to see this improvement implemented, add a 👍 reaction to this post.

zadam commented 2 years ago

I was a bit surprised by the claim that the default is checked, so I tested this - it seems that a new checklist item copies the status of the previous item - if the previous item is checked, the new one is checked as well. If you create a completely new checklist, then the first item will be unchecked by default.

heathermleroy commented 2 years ago

This is already being tracked here: https://github.com/ckeditor/ckeditor5/issues/11287

CKEditorBot commented 1 year ago

There has been no activity on this issue for the past year. We've marked it as stale and will close it in 30 days. We understand it may be relevant, so if you're interested in the solution, leave a comment or reaction under this issue.

CKEditorBot commented 10 months ago

There has been no activity on this issue for the past year. We've marked it as stale and will close it in 30 days. We understand it may still be relevant, so if you're interested in the solution, leave a comment or reaction under this issue.

CKEditorBot commented 9 months ago

We've closed your issue due to inactivity over the last year. We understand that the issue may still be relevant. If so, feel free to open a new one (and link this issue to it).