--- 'platejs': patch --- - Validate `lossPolicy`, `projection`, parse `limits`, options objects, detached `plugins` arrays, `importDocx` `ArrayBuffer`/`Blob` sources, `parsePlaceholders` string `tag`, and `editor.api.markdown.stream()` `mode`/`incompleteLinks` upfront before plugin compilation, browser DOM lookup, `signal.aborted`, or document assertion - Accept root-scoped `propose-only` `EditorView` instances cleanly across `exportDocx`, HTML, Markdown, Plain Text, and `renderStaticHtml`, and validate `renderStaticHtml` options, forbidden `props`, and `projection` before reading editor state - Block resource-bearing CSS `url(...)` inside `serializeHtml` style objects, write trimmed URLs from `decideHtmlAttribute`, and preserve admitted MathML elements during post-`prepareDocument` HTML sanitization - Project editor state during `editor.api.markdown.serialize()` so serializer callbacks observe the requested document and authored projection - Enforce `maxBytes` on untrimmed input in `editor.api.markdown.parseInline()` and inline `editor.api.markdown.stream()`, and validate both preview and final inline output against the editor schema (`markdown-schema-invalid`) - Avoid false `named-root` omission warnings when `exportDocx` reuses an exact retained DOCX source - Unwrap malformed navigation URLs, trim link URLs before custom link decoders run, and omit raw unsafe URLs from diagnostic messages during `importDocx` - Narrow `WordPastePlugin` Office-HTML marker detection so non-Office HTML containing `"mso"` substrings skips `DOMParser` - Compare Markdown default property values structurally in property-omission diagnostics