Repository navigation
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
@areknawo is attempting to deploy a commit to the TypeCell Team on Vercel. A member of the Team first needs to authorize it. |
YousefED
left a comment
There was a problem hiding this comment.
seems like a good start, I see one major bug when creating a list
- first item
- second item
and then indenting the second item, the index shows as 1.
I also don't think we always want to export the list index to BlockNote JSON format. When I look at basic/block-objects example, now the index is always included. Imo we should only include it if there's an explicit (different from default) "start".
Not sure what the best approach for these two issues is. Perhaps we should keep index as-is, and include a start attribute only when needed?
YousefED
left a comment
There was a problem hiding this comment.
Couple of improvement points:
Discussed on slack:
- add tests
- make sure
startdoesn't show up for non-explicitly set list items
other:
- when starting a new list with 1., we shouldn't set start=1, as it's the default behavior
- found one bug with inconsistent data / UX, see recording:
This PR:
\d+\.shortcut; (list keyboard shortcut other than "1" #1299)OLstartattribute in HTML & MD output;