Compare commits

..

2 Commits

Author SHA1 Message Date
d5ae08c961 chore(deps): update dev-dependencies
Some checks failed
continuous-integration/drone/pr Build is failing
2024-02-17 13:05:54 +00:00
32edef2d38
fix(editor): set default id of tasklist items
All checks were successful
continuous-integration/drone/push Build is passing
This fixes a bug where all tasklist items would have the same id which would check all of them when checking one of them.
2024-02-17 11:38:20 +01:00

View File

@ -394,7 +394,7 @@ const editor = useEditor({
return {
...this.parent?.(),
id: {
default: createRandomID,
default: () => createRandomID(),
parseHTML: element => element.getAttribute('data-id'),
renderHTML: attributes => ({
'data-id': attributes.id,