Todo Plugin #312
Replies: 3 comments 1 reply
-
Is this a general feature or does other editors do this? |
Beta Was this translation helpful? Give feedback.
-
Most editors don't have this, I just saw it in Roam |
Beta Was this translation helpful? Give feedback.
-
@zbeyens Shouldn't the todo list plugin be conforming to the (GFM or Extended spec) for common mark where the todo list is similar to a unordered list except the list item child has a checked attribute? With the current todo list plugin implementation, each todo list is a block element at the top level of the state. As per the spec it should be a child of an unordered list -> list item -> list item child. The difference between both the implementations with respect to the editor state can be seen below. Just a thought though. Current & Desired Implementation Comparison State in current plugin implementation
Desired State object with respect to the spec.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We have the TodoListPlugin where each todo list item is a block, following the same logic than ListPlugin.
TodoPlugin will enable support for inline todos (checkbox) when entering
[]
Beta Was this translation helpful? Give feedback.
All reactions