From 09758bd80de12b60c1b96b588bb15c65bb51283c Mon Sep 17 00:00:00 2001 From: "ecoscript[bot]" <143032650+ecoscript[bot]@users.noreply.github.com> Date: Wed, 22 Jul 2026 20:03:33 +0000 Subject: [PATCH] Version Packages --- .../apply-autoresolve-to-engine-block.md | 15 -------------- .../delete-forward-expanded-selection.md | 7 ------- packages/editor/CHANGELOG.md | 20 +++++++++++++++++++ packages/editor/package.json | 2 +- .../CHANGELOG.md | 8 ++++++++ .../package.json | 2 +- packages/plugin-dnd/CHANGELOG.md | 7 +++++++ packages/plugin-dnd/package.json | 2 +- packages/plugin-emoji-picker/CHANGELOG.md | 8 ++++++++ packages/plugin-emoji-picker/package.json | 4 ++-- packages/plugin-input-rule/CHANGELOG.md | 7 +++++++ packages/plugin-input-rule/package.json | 4 ++-- packages/plugin-list-index/CHANGELOG.md | 7 +++++++ packages/plugin-list-index/package.json | 2 +- .../plugin-markdown-shortcuts/CHANGELOG.md | 9 +++++++++ .../plugin-markdown-shortcuts/package.json | 2 +- packages/plugin-one-line/CHANGELOG.md | 7 +++++++ packages/plugin-one-line/package.json | 2 +- packages/plugin-paste-link/CHANGELOG.md | 7 +++++++ packages/plugin-paste-link/package.json | 2 +- packages/plugin-sdk-value/CHANGELOG.md | 7 +++++++ packages/plugin-sdk-value/package.json | 2 +- packages/plugin-table/CHANGELOG.md | 7 +++++++ packages/plugin-table/package.json | 2 +- packages/plugin-typeahead-picker/CHANGELOG.md | 8 ++++++++ packages/plugin-typeahead-picker/package.json | 4 ++-- packages/plugin-typography/CHANGELOG.md | 8 ++++++++ packages/plugin-typography/package.json | 4 ++-- packages/toolbar/CHANGELOG.md | 7 +++++++ packages/toolbar/package.json | 4 ++-- 30 files changed, 136 insertions(+), 41 deletions(-) delete mode 100644 .changeset/apply-autoresolve-to-engine-block.md delete mode 100644 .changeset/delete-forward-expanded-selection.md diff --git a/.changeset/apply-autoresolve-to-engine-block.md b/.changeset/apply-autoresolve-to-engine-block.md deleted file mode 100644 index 4de8b9a3c..000000000 --- a/.changeset/apply-autoresolve-to-engine-block.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -'@portabletext/editor': patch ---- - -fix: apply value-sync auto-resolutions to the block the engine receives - -When an `update value` carried a block the editor could repair -automatically (a child missing its `_key`, an empty `children` array, -unused `markDefs`), the repair was emitted as patches while the raw, -un-repaired block proceeded into the editor. The editor then held an -invalid shape that diverged from the document: the emitted patch minted -one key, internal normalization minted another. The repair is now -applied to the block before it enters the editor, so the emitted patch -and the editor state agree, and the editor never holds the un-repaired -shape. diff --git a/.changeset/delete-forward-expanded-selection.md b/.changeset/delete-forward-expanded-selection.md deleted file mode 100644 index 52f0042b3..000000000 --- a/.changeset/delete-forward-expanded-selection.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@portabletext/editor': patch ---- - -fix: require a collapsed selection for the forward-delete empty-block hop - -Selecting a range that ends in an empty block (highlighting empty lines, for example) and pressing Delete now deletes the whole range. Previously the forward-delete rule that hops a caret past an empty block also matched expanded selections, so only the block at the focus edge was affected and the covered empty lines remained. Backspace was unaffected. diff --git a/packages/editor/CHANGELOG.md b/packages/editor/CHANGELOG.md index d6f5bc426..35d1677c3 100644 --- a/packages/editor/CHANGELOG.md +++ b/packages/editor/CHANGELOG.md @@ -1,5 +1,25 @@ # Changelog +## 7.10.12 + +### Patch Changes + +- [#2968](https://github.com/portabletext/editor/pull/2968) [`5ddcc5b`](https://github.com/portabletext/editor/commit/5ddcc5b42ec2560cde1650489d9219212c5d67b1) Thanks [@christianhg](https://github.com/christianhg)! - fix: apply value-sync auto-resolutions to the block the engine receives + + When an `update value` carried a block the editor could repair + automatically (a child missing its `_key`, an empty `children` array, + unused `markDefs`), the repair was emitted as patches while the raw, + un-repaired block proceeded into the editor. The editor then held an + invalid shape that diverged from the document: the emitted patch minted + one key, internal normalization minted another. The repair is now + applied to the block before it enters the editor, so the emitted patch + and the editor state agree, and the editor never holds the un-repaired + shape. + +- [#3008](https://github.com/portabletext/editor/pull/3008) [`c600e92`](https://github.com/portabletext/editor/commit/c600e92bb94ec52762f63983bbd48f7b64654bfb) Thanks [@christianhg](https://github.com/christianhg)! - fix: require a collapsed selection for the forward-delete empty-block hop + + Selecting a range that ends in an empty block (highlighting empty lines, for example) and pressing Delete now deletes the whole range. Previously the forward-delete rule that hops a caret past an empty block also matched expanded selections, so only the block at the focus edge was affected and the covered empty lines remained. Backspace was unaffected. + ## 7.10.11 ### Patch Changes diff --git a/packages/editor/package.json b/packages/editor/package.json index cea1a1fb3..db8c9ee1a 100644 --- a/packages/editor/package.json +++ b/packages/editor/package.json @@ -1,6 +1,6 @@ { "name": "@portabletext/editor", - "version": "7.10.11", + "version": "7.10.12", "description": "Portable Text Editor made in React", "keywords": [ "collaborative", diff --git a/packages/plugin-character-pair-decorator/CHANGELOG.md b/packages/plugin-character-pair-decorator/CHANGELOG.md index 39d3897e5..4da6b8ce6 100644 --- a/packages/plugin-character-pair-decorator/CHANGELOG.md +++ b/packages/plugin-character-pair-decorator/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 8.0.40 + +### Patch Changes + +- Updated dependencies [[`5ddcc5b`](https://github.com/portabletext/editor/commit/5ddcc5b42ec2560cde1650489d9219212c5d67b1), [`c600e92`](https://github.com/portabletext/editor/commit/c600e92bb94ec52762f63983bbd48f7b64654bfb)]: + - @portabletext/editor@7.10.12 + - @portabletext/plugin-input-rule@6.0.9 + ## 8.0.39 ### Patch Changes diff --git a/packages/plugin-character-pair-decorator/package.json b/packages/plugin-character-pair-decorator/package.json index a8a5af955..360c141ff 100644 --- a/packages/plugin-character-pair-decorator/package.json +++ b/packages/plugin-character-pair-decorator/package.json @@ -1,6 +1,6 @@ { "name": "@portabletext/plugin-character-pair-decorator", - "version": "8.0.39", + "version": "8.0.40", "description": "Automatically match a pair of characters and decorate the text in between", "keywords": [ "behaviors", diff --git a/packages/plugin-dnd/CHANGELOG.md b/packages/plugin-dnd/CHANGELOG.md index fea039f6b..709fbd398 100644 --- a/packages/plugin-dnd/CHANGELOG.md +++ b/packages/plugin-dnd/CHANGELOG.md @@ -1,5 +1,12 @@ # @portabletext/plugin-dnd +## 1.0.24 + +### Patch Changes + +- Updated dependencies [[`5ddcc5b`](https://github.com/portabletext/editor/commit/5ddcc5b42ec2560cde1650489d9219212c5d67b1), [`c600e92`](https://github.com/portabletext/editor/commit/c600e92bb94ec52762f63983bbd48f7b64654bfb)]: + - @portabletext/editor@7.10.12 + ## 1.0.23 ### Patch Changes diff --git a/packages/plugin-dnd/package.json b/packages/plugin-dnd/package.json index c6deff3e3..bec76615a 100644 --- a/packages/plugin-dnd/package.json +++ b/packages/plugin-dnd/package.json @@ -1,6 +1,6 @@ { "name": "@portabletext/plugin-dnd", - "version": "1.0.23", + "version": "1.0.24", "description": "Track the drop position during drag and drop for custom drop indicators", "keywords": [ "dnd", diff --git a/packages/plugin-emoji-picker/CHANGELOG.md b/packages/plugin-emoji-picker/CHANGELOG.md index 1bfe32481..f31e3758f 100644 --- a/packages/plugin-emoji-picker/CHANGELOG.md +++ b/packages/plugin-emoji-picker/CHANGELOG.md @@ -1,5 +1,13 @@ # @portabletext/plugin-emoji-picker +## 7.0.40 + +### Patch Changes + +- Updated dependencies [[`5ddcc5b`](https://github.com/portabletext/editor/commit/5ddcc5b42ec2560cde1650489d9219212c5d67b1), [`c600e92`](https://github.com/portabletext/editor/commit/c600e92bb94ec52762f63983bbd48f7b64654bfb)]: + - @portabletext/editor@7.10.12 + - @portabletext/plugin-input-rule@6.0.9 + ## 7.0.39 ### Patch Changes diff --git a/packages/plugin-emoji-picker/package.json b/packages/plugin-emoji-picker/package.json index 60abb3789..bc53f45db 100644 --- a/packages/plugin-emoji-picker/package.json +++ b/packages/plugin-emoji-picker/package.json @@ -1,6 +1,6 @@ { "name": "@portabletext/plugin-emoji-picker", - "version": "7.0.39", + "version": "7.0.40", "description": "Easily configure an Emoji Picker for the Portable Text Editor", "keywords": [ "emoji-picker", @@ -84,7 +84,7 @@ "vitest": "catalog:tooling" }, "peerDependencies": { - "@portabletext/editor": "workspace:^7.10.11", + "@portabletext/editor": "workspace:^7.10.12", "react": "^19.2" }, "engines": { diff --git a/packages/plugin-input-rule/CHANGELOG.md b/packages/plugin-input-rule/CHANGELOG.md index 1f740fb4f..77e3daf2e 100644 --- a/packages/plugin-input-rule/CHANGELOG.md +++ b/packages/plugin-input-rule/CHANGELOG.md @@ -1,5 +1,12 @@ # @portabletext/plugin-input-rule +## 6.0.9 + +### Patch Changes + +- Updated dependencies [[`5ddcc5b`](https://github.com/portabletext/editor/commit/5ddcc5b42ec2560cde1650489d9219212c5d67b1), [`c600e92`](https://github.com/portabletext/editor/commit/c600e92bb94ec52762f63983bbd48f7b64654bfb)]: + - @portabletext/editor@7.10.12 + ## 6.0.8 ### Patch Changes diff --git a/packages/plugin-input-rule/package.json b/packages/plugin-input-rule/package.json index 594642066..a0d82911c 100644 --- a/packages/plugin-input-rule/package.json +++ b/packages/plugin-input-rule/package.json @@ -1,6 +1,6 @@ { "name": "@portabletext/plugin-input-rule", - "version": "6.0.8", + "version": "6.0.9", "description": "Easily configure Input Rules in the Portable Text Editor", "keywords": [ "input-rule", @@ -84,7 +84,7 @@ "vitest": "catalog:tooling" }, "peerDependencies": { - "@portabletext/editor": "workspace:^7.10.11", + "@portabletext/editor": "workspace:^7.10.12", "react": "^19.2" }, "engines": { diff --git a/packages/plugin-list-index/CHANGELOG.md b/packages/plugin-list-index/CHANGELOG.md index 00d8d61dd..d4713e616 100644 --- a/packages/plugin-list-index/CHANGELOG.md +++ b/packages/plugin-list-index/CHANGELOG.md @@ -1,5 +1,12 @@ # @portabletext/plugin-list-index +## 1.0.24 + +### Patch Changes + +- Updated dependencies [[`5ddcc5b`](https://github.com/portabletext/editor/commit/5ddcc5b42ec2560cde1650489d9219212c5d67b1), [`c600e92`](https://github.com/portabletext/editor/commit/c600e92bb94ec52762f63983bbd48f7b64654bfb)]: + - @portabletext/editor@7.10.12 + ## 1.0.23 ### Patch Changes diff --git a/packages/plugin-list-index/package.json b/packages/plugin-list-index/package.json index b10d5424d..24af8c31d 100644 --- a/packages/plugin-list-index/package.json +++ b/packages/plugin-list-index/package.json @@ -1,6 +1,6 @@ { "name": "@portabletext/plugin-list-index", - "version": "1.0.23", + "version": "1.0.24", "description": "Compute the list index of each list item for custom list rendering", "keywords": [ "list-index", diff --git a/packages/plugin-markdown-shortcuts/CHANGELOG.md b/packages/plugin-markdown-shortcuts/CHANGELOG.md index 9b929fcd4..7ba923338 100644 --- a/packages/plugin-markdown-shortcuts/CHANGELOG.md +++ b/packages/plugin-markdown-shortcuts/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## 8.0.40 + +### Patch Changes + +- Updated dependencies [[`5ddcc5b`](https://github.com/portabletext/editor/commit/5ddcc5b42ec2560cde1650489d9219212c5d67b1), [`c600e92`](https://github.com/portabletext/editor/commit/c600e92bb94ec52762f63983bbd48f7b64654bfb)]: + - @portabletext/editor@7.10.12 + - @portabletext/plugin-character-pair-decorator@8.0.40 + - @portabletext/plugin-input-rule@6.0.9 + ## 8.0.39 ### Patch Changes diff --git a/packages/plugin-markdown-shortcuts/package.json b/packages/plugin-markdown-shortcuts/package.json index ef64ef53b..d95084fcd 100644 --- a/packages/plugin-markdown-shortcuts/package.json +++ b/packages/plugin-markdown-shortcuts/package.json @@ -1,6 +1,6 @@ { "name": "@portabletext/plugin-markdown-shortcuts", - "version": "8.0.39", + "version": "8.0.40", "description": "Add helpful Markdown shortcuts to the editor", "keywords": [ "behaviors", diff --git a/packages/plugin-one-line/CHANGELOG.md b/packages/plugin-one-line/CHANGELOG.md index 67b0dee9b..e22c85462 100644 --- a/packages/plugin-one-line/CHANGELOG.md +++ b/packages/plugin-one-line/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 7.0.39 + +### Patch Changes + +- Updated dependencies [[`5ddcc5b`](https://github.com/portabletext/editor/commit/5ddcc5b42ec2560cde1650489d9219212c5d67b1), [`c600e92`](https://github.com/portabletext/editor/commit/c600e92bb94ec52762f63983bbd48f7b64654bfb)]: + - @portabletext/editor@7.10.12 + ## 7.0.38 ### Patch Changes diff --git a/packages/plugin-one-line/package.json b/packages/plugin-one-line/package.json index e476c06c3..fa9cb36cd 100644 --- a/packages/plugin-one-line/package.json +++ b/packages/plugin-one-line/package.json @@ -1,6 +1,6 @@ { "name": "@portabletext/plugin-one-line", - "version": "7.0.38", + "version": "7.0.39", "description": "Restrict the Portable Text Editor to a single line", "keywords": [ "behaviors", diff --git a/packages/plugin-paste-link/CHANGELOG.md b/packages/plugin-paste-link/CHANGELOG.md index 54b2a8a94..2efa1d4b4 100644 --- a/packages/plugin-paste-link/CHANGELOG.md +++ b/packages/plugin-paste-link/CHANGELOG.md @@ -1,5 +1,12 @@ # @portabletext/plugin-paste-link +## 4.0.39 + +### Patch Changes + +- Updated dependencies [[`5ddcc5b`](https://github.com/portabletext/editor/commit/5ddcc5b42ec2560cde1650489d9219212c5d67b1), [`c600e92`](https://github.com/portabletext/editor/commit/c600e92bb94ec52762f63983bbd48f7b64654bfb)]: + - @portabletext/editor@7.10.12 + ## 4.0.38 ### Patch Changes diff --git a/packages/plugin-paste-link/package.json b/packages/plugin-paste-link/package.json index 2e423fca5..7fee90bf5 100644 --- a/packages/plugin-paste-link/package.json +++ b/packages/plugin-paste-link/package.json @@ -1,6 +1,6 @@ { "name": "@portabletext/plugin-paste-link", - "version": "4.0.38", + "version": "4.0.39", "description": "Allow pasting links in the Portable Text Editor", "keywords": [ "behaviors", diff --git a/packages/plugin-sdk-value/CHANGELOG.md b/packages/plugin-sdk-value/CHANGELOG.md index 16cdc0006..e41900288 100644 --- a/packages/plugin-sdk-value/CHANGELOG.md +++ b/packages/plugin-sdk-value/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 7.1.4 + +### Patch Changes + +- Updated dependencies [[`5ddcc5b`](https://github.com/portabletext/editor/commit/5ddcc5b42ec2560cde1650489d9219212c5d67b1), [`c600e92`](https://github.com/portabletext/editor/commit/c600e92bb94ec52762f63983bbd48f7b64654bfb)]: + - @portabletext/editor@7.10.12 + ## 7.1.3 ### Patch Changes diff --git a/packages/plugin-sdk-value/package.json b/packages/plugin-sdk-value/package.json index 003d9ad52..a4254eb9f 100644 --- a/packages/plugin-sdk-value/package.json +++ b/packages/plugin-sdk-value/package.json @@ -1,6 +1,6 @@ { "name": "@portabletext/plugin-sdk-value", - "version": "7.1.3", + "version": "7.1.4", "description": "Connect a Portable Text Editor with a Sanity document using the SDK", "keywords": [ "@sanity/sdk", diff --git a/packages/plugin-table/CHANGELOG.md b/packages/plugin-table/CHANGELOG.md index 9932315e5..53da994dc 100644 --- a/packages/plugin-table/CHANGELOG.md +++ b/packages/plugin-table/CHANGELOG.md @@ -1,5 +1,12 @@ # @portabletext/plugin-table +## 1.3.9 + +### Patch Changes + +- Updated dependencies [[`5ddcc5b`](https://github.com/portabletext/editor/commit/5ddcc5b42ec2560cde1650489d9219212c5d67b1), [`c600e92`](https://github.com/portabletext/editor/commit/c600e92bb94ec52762f63983bbd48f7b64654bfb)]: + - @portabletext/editor@7.10.12 + ## 1.3.8 ### Patch Changes diff --git a/packages/plugin-table/package.json b/packages/plugin-table/package.json index b471a37e1..4ef77b416 100644 --- a/packages/plugin-table/package.json +++ b/packages/plugin-table/package.json @@ -1,6 +1,6 @@ { "name": "@portabletext/plugin-table", - "version": "1.3.8", + "version": "1.3.9", "description": "Tables as real Portable Text, edited with spreadsheet-grade selection", "keywords": [ "plugin", diff --git a/packages/plugin-typeahead-picker/CHANGELOG.md b/packages/plugin-typeahead-picker/CHANGELOG.md index f392ec7ff..1ee0ebc8e 100644 --- a/packages/plugin-typeahead-picker/CHANGELOG.md +++ b/packages/plugin-typeahead-picker/CHANGELOG.md @@ -1,5 +1,13 @@ # @portabletext/plugin-typeahead-picker +## 6.0.40 + +### Patch Changes + +- Updated dependencies [[`5ddcc5b`](https://github.com/portabletext/editor/commit/5ddcc5b42ec2560cde1650489d9219212c5d67b1), [`c600e92`](https://github.com/portabletext/editor/commit/c600e92bb94ec52762f63983bbd48f7b64654bfb)]: + - @portabletext/editor@7.10.12 + - @portabletext/plugin-input-rule@6.0.9 + ## 6.0.39 ### Patch Changes diff --git a/packages/plugin-typeahead-picker/package.json b/packages/plugin-typeahead-picker/package.json index 2703b693f..f107dec2c 100644 --- a/packages/plugin-typeahead-picker/package.json +++ b/packages/plugin-typeahead-picker/package.json @@ -1,6 +1,6 @@ { "name": "@portabletext/plugin-typeahead-picker", - "version": "6.0.39", + "version": "6.0.40", "description": "Build typeahead pickers (emoji, mentions, slash commands) for the Portable Text Editor", "keywords": [ "autocomplete", @@ -89,7 +89,7 @@ "vitest": "catalog:tooling" }, "peerDependencies": { - "@portabletext/editor": "workspace:^7.10.11", + "@portabletext/editor": "workspace:^7.10.12", "react": "^19.2" }, "engines": { diff --git a/packages/plugin-typography/CHANGELOG.md b/packages/plugin-typography/CHANGELOG.md index 8231a6b6c..4ed3fdf92 100644 --- a/packages/plugin-typography/CHANGELOG.md +++ b/packages/plugin-typography/CHANGELOG.md @@ -1,5 +1,13 @@ # @portabletext/plugin-typography +## 8.0.40 + +### Patch Changes + +- Updated dependencies [[`5ddcc5b`](https://github.com/portabletext/editor/commit/5ddcc5b42ec2560cde1650489d9219212c5d67b1), [`c600e92`](https://github.com/portabletext/editor/commit/c600e92bb94ec52762f63983bbd48f7b64654bfb)]: + - @portabletext/editor@7.10.12 + - @portabletext/plugin-input-rule@6.0.9 + ## 8.0.39 ### Patch Changes diff --git a/packages/plugin-typography/package.json b/packages/plugin-typography/package.json index ec2692a11..e6076eaa2 100644 --- a/packages/plugin-typography/package.json +++ b/packages/plugin-typography/package.json @@ -1,6 +1,6 @@ { "name": "@portabletext/plugin-typography", - "version": "8.0.39", + "version": "8.0.40", "description": "Automatically transform text to typographic variants", "keywords": [ "plugin", @@ -81,7 +81,7 @@ "vitest": "catalog:tooling" }, "peerDependencies": { - "@portabletext/editor": "workspace:^7.10.11", + "@portabletext/editor": "workspace:^7.10.12", "react": "^19.2" }, "engines": { diff --git a/packages/toolbar/CHANGELOG.md b/packages/toolbar/CHANGELOG.md index 69bf46f51..ca3e33975 100644 --- a/packages/toolbar/CHANGELOG.md +++ b/packages/toolbar/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 8.0.39 + +### Patch Changes + +- Updated dependencies [[`5ddcc5b`](https://github.com/portabletext/editor/commit/5ddcc5b42ec2560cde1650489d9219212c5d67b1), [`c600e92`](https://github.com/portabletext/editor/commit/c600e92bb94ec52762f63983bbd48f7b64654bfb)]: + - @portabletext/editor@7.10.12 + ## 8.0.38 ### Patch Changes diff --git a/packages/toolbar/package.json b/packages/toolbar/package.json index 2fd341b6b..fc895ce5a 100644 --- a/packages/toolbar/package.json +++ b/packages/toolbar/package.json @@ -1,6 +1,6 @@ { "name": "@portabletext/toolbar", - "version": "8.0.38", + "version": "8.0.39", "description": "Utilities for building a toolbar for the Portable Text Editor", "keywords": [ "portabletext", @@ -81,7 +81,7 @@ "vitest": "catalog:tooling" }, "peerDependencies": { - "@portabletext/editor": "workspace:^7.10.11", + "@portabletext/editor": "workspace:^7.10.12", "react": "^19.2.7" }, "engines": {