nested-list icon indicating copy to clipboard operation
nested-list copied to clipboard

Checklist is not compatible with read-only mode

Open denisJaved opened this issue 3 months ago • 2 comments

Problem (not a bug)

Checklist can be edited even when read-only mode is enabled.

Steps to reproduce the problem

  1. Import editorjs and the list tool
  2. Create any check list
  3. Enable read-only mode
  4. Try to click on checkboxes

Example

Actual behavior

Check boxes do toggle and check boxes can not be added or deleted

Expected behavior

Check boxes do not toggle when read-only mode is enabled or some other configuration option to disabled check box ability to be toggled

Why it will be better

Option to make check boxes not interaction will allow creating checklists that can not be edited at all. Right now there is no way (at least listed on readme) to make checklists completely read-only.

Read-only checklists can be useful to display information that can not be edited by current user. For example article created by some other user

denisJaved avatar Sep 16 '25 09:09 denisJaved

Please, clarify issue title and description.

  1. What is the problem?
  2. Steps to reproduce the problem
  3. Actual behavior
  4. Expected behavior
  5. Why it will be better

neSpecc avatar Sep 16 '25 09:09 neSpecc

Please, clarify issue title and description.

1. What is the problem?

2. Steps to reproduce the problem

3. Actual behavior

4. Expected behavior

5. Why it will be better

Added new edit. Thanks for reply

denisJaved avatar Sep 16 '25 10:09 denisJaved

resolved since list 2.0.9 version

e11sy avatar Nov 15 '25 15:11 e11sy