fix(editor): make sure checkbox lists are unique (#2007)

This fixes a checkbox persistence bug where toggling one checkbox would affect others with identical text. To make this work, a new unique `data-task-id` attribute was added to each task list item for reliable identification.

Fixes #293, #563

🐰 With nanoid's magic and IDs so fine,
Each checkbox now knows which line is mine,
No more lost state when the page reloads—
Tasks persist through every browser node!
This commit is contained in:
kolaente
2025-12-19 17:12:31 +01:00
committed by GitHub
parent 84791aa996
commit ef1efbc29a
6 changed files with 308 additions and 12 deletions

View File

@@ -91,6 +91,7 @@
"klona": "2.0.6",
"lowlight": "3.3.0",
"marked": "17.0.1",
"nanoid": "^5.1.6",
"pinia": "3.0.4",
"register-service-worker": "1.7.2",
"sortablejs": "1.15.6",