Releases: udecode/plate
v53.0.8
@platejs/docx-io
Patch Changes
- #4991 by @WilliamPeralta – Fix
exportToDocxadding blank paragraphs at the top of the document.wrapHtmlForDocxemitted a<!DOCTYPE html>and indented the template; html-to-docx (html-to-vdom) keeps the DOCTYPE and the whitespace-only text nodes between tags and renders each as a blank paragraph. The wrapper now emits tight markup with no DOCTYPE.
Contributors
Thanks to everyone who contributed to this release:
Full changelog: v53.0.7...v53.0.8
v53.0.7
@platejs/ai
Patch Changes
- Updated
@platejs/table.
@platejs/core
Patch Changes
-
#4987 by @zbeyens – Add
transformInitialValueandnodeId.initialValueIdswhile keepingnormalizeInitialValueas a deprecated alias -
#4987 by @zbeyens – Improve large-document mount and render performance across core element, mark, and
nodeIdpaths- Cut
10kmixed-document core mount time from1240.60 msto468.26 mswithoutnodeId(62.3%,2.65xfaster) - Cut
10kmixed-document core mount time from1290.66 msto477.73 mswithnodeId(63.0%,2.70xfaster) - Cut mixed-document
nodeIdoverhead over core from+50.06 msto+9.46 ms(81.1%smaller) - Cut duplicate-id paste cost from
20.06 msto13.79 ms(31.2%,1.45xfaster) - Cut
10kcode-only mount time from1500.30 msto496.47 ms(66.9%,3.02xfaster) and shrink the code-only tax over core from+280.75 msto+27.89 ms(90.1%smaller) - Bring the current
10kcore and basic large-document mount lanes to Slate parity or better (core -3.5%,core + nodeId -1.6%,basic -1.2%) - Preserve Slate children for void
render.astags and Slate attributes on simple leaf/text render paths
- Cut
@platejs/csv
Published @platejs/csv@53.0.7.
@platejs/slate
Patch Changes
-
#4987 by @zbeyens – Add experimental
editor.tf.setNodesBatchfor exact-path node prop updates on large documents- Cut the large-document
set_nodehot path from18.56 msto2.63 msat1kblocks (7.05xfaster) - Cut the same path from
118.54 msto4.92 msat5kblocks (24.10xfaster) - Let
@platejs/corebatch livenodeIdnormalization instead of paying onesetNodescall per missing id - Keep
editor.tf.setNodesBatchexplicitly temporary. It is experimental and will be removed in a future release
- Cut the large-document
-
231b986by @github-actions[bot] – Updatedslate-hyperscript.
@platejs/table
Patch Changes
@platejs/test-utils
Published @platejs/test-utils@53.0.7.
@platejs/utils
Patch Changes
- Updated
@platejs/core,@platejs/slate.
platejs
Patch Changes
- Updated
@platejs/core,@platejs/slate,@platejs/utils.
Contributors
Thanks to everyone who contributed to this release:
Full changelog: v53.0.6...v53.0.7
v53.0.6
@platejs/core
Patch Changes
-
#4983 by @bbyiringiro – Fix
.configure({ inputRules })losing rules on subsequent editor instancesThe user's config object was shared across resolutions via closure; clearing
inputRuleson the first resolve left later editors (StrictMode remounts, HMR, multi-editor pages) with no configured rules. -
#4983 by @bbyiringiro – Fix
createTextSubstitutionInputRulenot firing on the final character of flat matches (e.g.->→→,(c)→©)
@platejs/utils
Patch Changes
- Updated
@platejs/core.
platejs
Patch Changes
- Updated
@platejs/core,@platejs/utils.
Contributors
Thanks to everyone who contributed to this release:
Full changelog: v53.0.5...v53.0.6
v53.0.5
@platejs/core
Published @platejs/core@53.0.5.
@platejs/slate
Patch Changes
ce9ec87by @github-actions[bot] – Updatedslate-react.
@platejs/test-utils
Published @platejs/test-utils@53.0.5.
@platejs/utils
Patch Changes
- Updated
@platejs/core,@platejs/slate.
platejs
Patch Changes
- Updated
@platejs/core,@platejs/slate,@platejs/utils.
Full changelog: v53.0.4...v53.0.5
@platejs/markdown@53.0.4
@platejs/ai@53.0.4
Patch Changes
- Updated
@platejs/markdown.
platejs@53.0.3
Patch Changes
- Updated
@platejs/utils.
@platejs/utils@53.0.3
Patch Changes
- #4945 by @felixfeng33 – Add a trailing-block insert hook for normalization-driven insert behavior
@platejs/suggestion@53.0.3
Patch Changes
- #4945 by @felixfeng33 – Fix inline-void delete and replace suggestions around mentions and paragraph boundaries
@platejs/link@53.0.3
Patch Changes
- #4945 by @felixfeng33 – Fix empty link normalization when suggestion acceptance removes the last link character