| @platejs/code-block |
|---|
patch |
- Fixed normalizer using
setNodesinstead ofwrapNodesfor bare text children incode_block, which produced malformedcode_linenodes (e.g.{ text: "...", type: "code_line" }instead of proper element structure). This caused syntax highlighting to only work on the first line. - Fixed
insertBreaknot resetting the decoration cache after splitting, so new lines now get syntax highlighting immediately.