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
With the cursor at the start of block2, attempting to un-indent the block using Backspace or Shift+Tab will result in the following error: Uncaught TransformError: Invalid content for node block. This seems to be an issue with TipTap's liftListItem function, which is used in both key handlers. There are definitely other situations where this happens, the example above is just one case.
It's probably worth mentioning this issue was present before PR #64, so it's almost certainly something going wrong within liftListItem.
The text was updated successfully, but these errors were encountered:
The issue here is that liftListItem attempts to create a block with blockContent followed by two blockGroups. I am experimenting with changing the block schema to allow "blockContent blockGroup*" instead of "blockContent blockGroup?". Can you see any reason that this would be a bad idea to fix this issue? The more straightforward alternative is to collapse the nested blockGroups into one blockGroup within a custom liftListItem.
For this particular nesting pattern:
With the cursor at the start of
block2
, attempting to un-indent the block using Backspace or Shift+Tab will result in the following error:Uncaught TransformError: Invalid content for node block
. This seems to be an issue with TipTap'sliftListItem
function, which is used in both key handlers. There are definitely other situations where this happens, the example above is just one case.It's probably worth mentioning this issue was present before PR #64, so it's almost certainly something going wrong within
liftListItem
.The text was updated successfully, but these errors were encountered: