From 73e7a020bb449af9d980131d2f45ce6dfa94f3c8 Mon Sep 17 00:00:00 2001 From: Nick the Sick Date: Thu, 7 May 2026 13:49:09 +0200 Subject: [PATCH 1/3] fix(core): preserve list item type when pasting into empty inline-content blocks Fixes #2330 Pasting plain text or a paragraph into an empty bullet/numbered/check list item replaced the list item with a paragraph because BlockNote's serializer wraps content in `blockGroup > blockContainer > paragraph`, producing a closed slice that ProseMirror inserts as a new block rather than splicing inline. `transformPasted` now retypes the leading paragraph in such a slice to match the empty target block, so the list item keeps its type and any trailing blocks become siblings. Also fixes bare `
  • a
  • b
  • ` HTML parsing: the BulletListItem parse rule requires a `