v0.12.0
Summary
Adds first-class quote attribution and surfaces module-name / node-key constants for downstream renderer overrides. Drives the Yohaku rich-content UI rewrite (alert / banner / blockquote / nestdoc).
Breaking Changes
None.
Features
@haklex/rich-editor: newRichQuoteNodesubclass with an__attributionslot, registered via{ replace: QuoteNode }so existing blockquote data continues to parse.@haklex/rich-editor-ui: newQuoteAttributionPlugin— inline bottom-right input rendered into the active blockquote DOM, with full event isolation (key / pointer / IME composition / clipboard / drag) from the contenteditable.@haklex/rich-editor:RichEditorShellauto-mountsQuoteAttributionPlugin.@haklex/rich-compose: per-module entries now exportALERT_MODULE_NAME/BANNER_MODULE_NAME/NESTED_DOC_MODULE_NAMEetc. for type-safeRichRendererModule.name.@haklex/rich-ext-nested-doc: exposesNESTED_DOC_NODE_KEY(slot constant),truncateEditorState,hasRenderableEditorState, andNestedDocRendererProps— required forcomposeRenderer({ overrides })consumer-side renderer customization.NestedDocStaticDecoratornow delegates throughRendererWrapper.@haklex/rich-litexml:<blockquote attribution="...">reader/writer support;litexml-authoringskill updated.
Bug Fixes
None separable from the above features.
Bump rationale
Shared version (highest-wins). All package diffs are additive — new exports, new node subclass via replace, new optional attribute. No removed / renamed exports, no Context shape changes, no public CSS class removals.
| pkg | level | reason |
|---|---|---|
| rich-editor-ui | minor | new export QuoteAttributionPlugin |
| rich-ext-nested-doc | minor | new exports NESTED_DOC_NODE_KEY, truncateEditorState, hasRenderableEditorState, NestedDocRendererProps |
| rich-compose | minor | new per-module *_MODULE_NAME exports |
| rich-editor | minor | new class RichQuoteNode (non-breaking replace) |
| rich-litexml | minor | new optional attribution attribute on <blockquote> |