You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The checked state should be stored in the prosemirror state
If possible, content of checked todo items should appear strikethrough (I think we can do this directly from CSS)
show "To-do" as placeholder
We currently store a listType attribute on Blocks. On first thought, we could:
a. use listType="todo-checked" and listType="todo-unchecked"
b. use listType="todo" and todo-checked="true" as attributes
Option B seems cleaner, but option A has other benefits (we don't need to clean for "invalid" Prosemirror states, for example, what does listType="li" and todo-checked mean? In that case todo-checked should be removed. What do you think is the best architecture for this?
The text was updated successfully, but these errors were encountered:
Add support for TODO items:
We currently store a listType attribute on Blocks. On first thought, we could:
a. use
listType="todo-checked"
andlistType="todo-unchecked"
b. use
listType="todo"
andtodo-checked="true"
as attributesOption B seems cleaner, but option A has other benefits (we don't need to clean for "invalid" Prosemirror states, for example, what does
listType="li"
andtodo-checked
mean? In that casetodo-checked
should be removed. What do you think is the best architecture for this?The text was updated successfully, but these errors were encountered: