Skip to content

[pull] main from TypeCellOS:main#294

Merged
pull[bot] merged 2 commits intocode:mainfrom
TypeCellOS:main
Apr 8, 2026
Merged

[pull] main from TypeCellOS:main#294
pull[bot] merged 2 commits intocode:mainfrom
TypeCellOS:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Apr 8, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

YousefED added 2 commits April 8, 2026 10:18
* fix(core): add custom liftItem to fix unnesting blocks with siblings (BLO-1017)

ProseMirror's upstream liftListItem doesn't work with BlockNote's strict
blockContainer schema (blockContent blockGroup?), producing RangeError
when unnesting blocks that have siblings after them. This adds a minimal
adaptation of liftToOuterList (mirroring the existing sinkItem adaptation)
that correctly handles merging siblings into existing child blockGroups.

Fixes BLO-835, BLO-899, BLO-953, BLO-844, BLO-847.

* chore: address review feedback (const, unused import)

* test: add test case for nesting block into sibling with existing children

* chore: fix lint
…#2629)

* fix(core): add missing selectionAtBlockStart guard in backspace columnList handler

The "move to end of prev columnList" backspace handler was missing a
check for whether the cursor is at the start of the block. This caused
mid-text backspace next to a columnList to move the entire block into
the column instead of deleting a character.

* fix(core): add missing selectionAtBlockEnd guard in delete columnList handler

Same bug as the backspace handler — the "move first block from next
columnList" delete handler was missing a selectionAtBlockEnd check,
causing mid-text delete next to a columnList to incorrectly move blocks.

Also adds 3 delete tests mirroring the backspace tests, and marks
the mid-text tests with TODOs for vitest browser mode migration.
@pull pull Bot locked and limited conversation to collaborators Apr 8, 2026
@pull pull Bot added the ⤵️ pull label Apr 8, 2026
@pull pull Bot merged commit fa8d41c into code:main Apr 8, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant