Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .changeset/remote-patches-cosmetic-normalization.md

This file was deleted.

8 changes: 8 additions & 0 deletions packages/editor/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 7.10.11

### Patch Changes

- [#3001](https://github.com/portabletext/editor/pull/3001) [`86bf426`](https://github.com/portabletext/editor/commit/86bf426af85f54c3acab61bffa3e3bfa8d976d5b) Thanks [@christianhg](https://github.com/christianhg)! - fix: skip cosmetic normalization while applying remote patches

Adjacent same-mark spans and empty sibling spans arriving through remote patches are now kept as-is instead of being merged away by the receiving editor. Those merges were emitted and pushed back at the originator, so two people editing the same block concurrently could see formatting silently revert and the tail of the block duplicate. The unmerged structure renders identically and is canonicalized on the block's next local edit; `update value` still normalizes loaded documents, and structural repairs (missing keys, types, required fields) still run on every path.

## 7.10.10

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/editor/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@portabletext/editor",
"version": "7.10.10",
"version": "7.10.11",
"description": "Portable Text Editor made in React",
"keywords": [
"collaborative",
Expand Down
8 changes: 8 additions & 0 deletions packages/plugin-character-pair-decorator/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 8.0.39

### Patch Changes

- Updated dependencies [[`86bf426`](https://github.com/portabletext/editor/commit/86bf426af85f54c3acab61bffa3e3bfa8d976d5b)]:
- @portabletext/editor@7.10.11
- @portabletext/plugin-input-rule@6.0.8

## 8.0.38

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-character-pair-decorator/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@portabletext/plugin-character-pair-decorator",
"version": "8.0.38",
"version": "8.0.39",
"description": "Automatically match a pair of characters and decorate the text in between",
"keywords": [
"behaviors",
Expand Down
7 changes: 7 additions & 0 deletions packages/plugin-dnd/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @portabletext/plugin-dnd

## 1.0.23

### Patch Changes

- Updated dependencies [[`86bf426`](https://github.com/portabletext/editor/commit/86bf426af85f54c3acab61bffa3e3bfa8d976d5b)]:
- @portabletext/editor@7.10.11

## 1.0.22

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-dnd/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@portabletext/plugin-dnd",
"version": "1.0.22",
"version": "1.0.23",
"description": "Track the drop position during drag and drop for custom drop indicators",
"keywords": [
"dnd",
Expand Down
8 changes: 8 additions & 0 deletions packages/plugin-emoji-picker/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @portabletext/plugin-emoji-picker

## 7.0.39

### Patch Changes

- Updated dependencies [[`86bf426`](https://github.com/portabletext/editor/commit/86bf426af85f54c3acab61bffa3e3bfa8d976d5b)]:
- @portabletext/editor@7.10.11
- @portabletext/plugin-input-rule@6.0.8

## 7.0.38

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/plugin-emoji-picker/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@portabletext/plugin-emoji-picker",
"version": "7.0.38",
"version": "7.0.39",
"description": "Easily configure an Emoji Picker for the Portable Text Editor",
"keywords": [
"emoji-picker",
Expand Down Expand Up @@ -84,7 +84,7 @@
"vitest": "catalog:tooling"
},
"peerDependencies": {
"@portabletext/editor": "workspace:^7.10.10",
"@portabletext/editor": "workspace:^7.10.11",
"react": "^19.2"
},
"engines": {
Expand Down
7 changes: 7 additions & 0 deletions packages/plugin-input-rule/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @portabletext/plugin-input-rule

## 6.0.8

### Patch Changes

- Updated dependencies [[`86bf426`](https://github.com/portabletext/editor/commit/86bf426af85f54c3acab61bffa3e3bfa8d976d5b)]:
- @portabletext/editor@7.10.11

## 6.0.7

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/plugin-input-rule/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@portabletext/plugin-input-rule",
"version": "6.0.7",
"version": "6.0.8",
"description": "Easily configure Input Rules in the Portable Text Editor",
"keywords": [
"input-rule",
Expand Down Expand Up @@ -84,7 +84,7 @@
"vitest": "catalog:tooling"
},
"peerDependencies": {
"@portabletext/editor": "workspace:^7.10.10",
"@portabletext/editor": "workspace:^7.10.11",
"react": "^19.2"
},
"engines": {
Expand Down
7 changes: 7 additions & 0 deletions packages/plugin-list-index/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @portabletext/plugin-list-index

## 1.0.23

### Patch Changes

- Updated dependencies [[`86bf426`](https://github.com/portabletext/editor/commit/86bf426af85f54c3acab61bffa3e3bfa8d976d5b)]:
- @portabletext/editor@7.10.11

## 1.0.22

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-list-index/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@portabletext/plugin-list-index",
"version": "1.0.22",
"version": "1.0.23",
"description": "Compute the list index of each list item for custom list rendering",
"keywords": [
"list-index",
Expand Down
9 changes: 9 additions & 0 deletions packages/plugin-markdown-shortcuts/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 8.0.39

### Patch Changes

- Updated dependencies [[`86bf426`](https://github.com/portabletext/editor/commit/86bf426af85f54c3acab61bffa3e3bfa8d976d5b)]:
- @portabletext/editor@7.10.11
- @portabletext/plugin-character-pair-decorator@8.0.39
- @portabletext/plugin-input-rule@6.0.8

## 8.0.38

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-markdown-shortcuts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@portabletext/plugin-markdown-shortcuts",
"version": "8.0.38",
"version": "8.0.39",
"description": "Add helpful Markdown shortcuts to the editor",
"keywords": [
"behaviors",
Expand Down
7 changes: 7 additions & 0 deletions packages/plugin-one-line/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## 7.0.38

### Patch Changes

- Updated dependencies [[`86bf426`](https://github.com/portabletext/editor/commit/86bf426af85f54c3acab61bffa3e3bfa8d976d5b)]:
- @portabletext/editor@7.10.11

## 7.0.37

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-one-line/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@portabletext/plugin-one-line",
"version": "7.0.37",
"version": "7.0.38",
"description": "Restrict the Portable Text Editor to a single line",
"keywords": [
"behaviors",
Expand Down
7 changes: 7 additions & 0 deletions packages/plugin-paste-link/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @portabletext/plugin-paste-link

## 4.0.38

### Patch Changes

- Updated dependencies [[`86bf426`](https://github.com/portabletext/editor/commit/86bf426af85f54c3acab61bffa3e3bfa8d976d5b)]:
- @portabletext/editor@7.10.11

## 4.0.37

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-paste-link/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@portabletext/plugin-paste-link",
"version": "4.0.37",
"version": "4.0.38",
"description": "Allow pasting links in the Portable Text Editor",
"keywords": [
"behaviors",
Expand Down
7 changes: 7 additions & 0 deletions packages/plugin-sdk-value/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## 7.1.3

### Patch Changes

- Updated dependencies [[`86bf426`](https://github.com/portabletext/editor/commit/86bf426af85f54c3acab61bffa3e3bfa8d976d5b)]:
- @portabletext/editor@7.10.11

## 7.1.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-sdk-value/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@portabletext/plugin-sdk-value",
"version": "7.1.2",
"version": "7.1.3",
"description": "Connect a Portable Text Editor with a Sanity document using the SDK",
"keywords": [
"@sanity/sdk",
Expand Down
7 changes: 7 additions & 0 deletions packages/plugin-table/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @portabletext/plugin-table

## 1.3.8

### Patch Changes

- Updated dependencies [[`86bf426`](https://github.com/portabletext/editor/commit/86bf426af85f54c3acab61bffa3e3bfa8d976d5b)]:
- @portabletext/editor@7.10.11

## 1.3.7

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-table/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@portabletext/plugin-table",
"version": "1.3.7",
"version": "1.3.8",
"description": "Tables as real Portable Text, edited with spreadsheet-grade selection",
"keywords": [
"plugin",
Expand Down
8 changes: 8 additions & 0 deletions packages/plugin-typeahead-picker/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @portabletext/plugin-typeahead-picker

## 6.0.39

### Patch Changes

- Updated dependencies [[`86bf426`](https://github.com/portabletext/editor/commit/86bf426af85f54c3acab61bffa3e3bfa8d976d5b)]:
- @portabletext/editor@7.10.11
- @portabletext/plugin-input-rule@6.0.8

## 6.0.38

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/plugin-typeahead-picker/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@portabletext/plugin-typeahead-picker",
"version": "6.0.38",
"version": "6.0.39",
"description": "Build typeahead pickers (emoji, mentions, slash commands) for the Portable Text Editor",
"keywords": [
"autocomplete",
Expand Down Expand Up @@ -89,7 +89,7 @@
"vitest": "catalog:tooling"
},
"peerDependencies": {
"@portabletext/editor": "workspace:^7.10.10",
"@portabletext/editor": "workspace:^7.10.11",
"react": "^19.2"
},
"engines": {
Expand Down
8 changes: 8 additions & 0 deletions packages/plugin-typography/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @portabletext/plugin-typography

## 8.0.39

### Patch Changes

- Updated dependencies [[`86bf426`](https://github.com/portabletext/editor/commit/86bf426af85f54c3acab61bffa3e3bfa8d976d5b)]:
- @portabletext/editor@7.10.11
- @portabletext/plugin-input-rule@6.0.8

## 8.0.38

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/plugin-typography/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@portabletext/plugin-typography",
"version": "8.0.38",
"version": "8.0.39",
"description": "Automatically transform text to typographic variants",
"keywords": [
"plugin",
Expand Down Expand Up @@ -81,7 +81,7 @@
"vitest": "catalog:tooling"
},
"peerDependencies": {
"@portabletext/editor": "workspace:^7.10.10",
"@portabletext/editor": "workspace:^7.10.11",
"react": "^19.2"
},
"engines": {
Expand Down
7 changes: 7 additions & 0 deletions packages/toolbar/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## 8.0.38

### Patch Changes

- Updated dependencies [[`86bf426`](https://github.com/portabletext/editor/commit/86bf426af85f54c3acab61bffa3e3bfa8d976d5b)]:
- @portabletext/editor@7.10.11

## 8.0.37

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/toolbar/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@portabletext/toolbar",
"version": "8.0.37",
"version": "8.0.38",
"description": "Utilities for building a toolbar for the Portable Text Editor",
"keywords": [
"portabletext",
Expand Down Expand Up @@ -81,7 +81,7 @@
"vitest": "catalog:tooling"
},
"peerDependencies": {
"@portabletext/editor": "workspace:^7.10.10",
"@portabletext/editor": "workspace:^7.10.11",
"react": "^19.2.7"
},
"engines": {
Expand Down
Loading