diff options
author | Max <max@nextcloud.com> | 2022-02-15 10:02:07 +0300 |
---|---|---|
committer | Max <max@nextcloud.com> | 2022-03-02 15:26:11 +0300 |
commit | 0afc3236c2d773791de05d457367c73faf113ca0 (patch) | |
tree | e6c78d3228e7b915645e605f5cf414f6002a160b /package.json | |
parent | 69a9acce3a66b13dd7a22d2eef3b2e285ec91a71 (diff) |
fix: indicator of the task list.
See #2018.
Use tiptap TaskList and TaskItem.
Markdown-it happily mixes tasks and bullet points in the same list.
Tiptap lists are strictly separated.
Split bullet and tasks into BulletList and TaskList in markdown-io.
Just like this will turn into three different lists:
* one
- two
+ three
This will now also turn into three different lists
with the middle one being a task list:
* first list
* [ ] todo
* [x] done
* third list
Signed-off-by: Max <max@nextcloud.com>
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/package.json b/package.json index f054291ce..483d9d54a 100644 --- a/package.json +++ b/package.json @@ -54,6 +54,8 @@ "@tiptap/extension-paragraph": "^2.0.0-beta.22", "@tiptap/extension-placeholder": "^2.0.0-beta.44", "@tiptap/extension-strike": "^2.0.0-beta.26", + "@tiptap/extension-task-item": "^2.0.0-beta.31", + "@tiptap/extension-task-list": "^2.0.0-beta.26", "@tiptap/extension-text": "^2.0.0-beta.15", "@tiptap/extension-underline": "^2.0.0-beta.22", "@tiptap/suggestion": "^2.0.0-beta.90", |