Major Changes
-
#4941 by @zbeyens – Store blockquotes as container blocks with block children.
Lift every selected nested quoted block one level onShift+Tab.
Reset headings to paragraphs onBackspaceat block start before any merge.Migration:
- Update persisted values, fixtures, and tests to use block children instead of direct text children.
- Expect
editor.tf.blockquote.toggle()to wrap or unwrap blocks instead of retagging one text block in place. - Empty later quoted paragraphs delete in place on
Backspaceinstead of jumping out of the quote. Backspaceat the start of a heading now resets the heading to a paragraph before any merge.- Legacy flat blockquote values still normalize on load, but persisted snapshots and fixtures should move to the new shape.
// Before { type: 'blockquote', children: [{ text: 'Quote' }] } // After { type: 'blockquote', children: [{ type: 'p', children: [{ text: 'Quote' }] }], }