chore(deps): update dependency @portabletext/editor to ^7.10.16 - #1828
chore(deps): update dependency @portabletext/editor to ^7.10.16#1828squiggler-app[bot] wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
|
✅ E2E Tests🟢 26 passed • view full report • view run Studio: https://plugins-e2e-test-studio-98xlnbr42.sanity.dev Datasets: |
Coverage Report
File CoverageNo changed files found. |
a5a3abb to
ea0e0ec
Compare
ea0e0ec to
b1ce743
Compare
b1ce743 to
50da52d
Compare
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
50da52d to
c9822c8
Compare
c9822c8 to
b9c716c
Compare
b9c716c to
ea657dd
Compare
ea657dd to
2db0ad6
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 2db0ad6. Configure here.
2db0ad6 to
bf64195
Compare

This PR contains the following updates:
^7.10.13→^7.10.16Release Notes
portabletext/editor (@portabletext/editor)
v7.10.16Compare Source
Patch Changes
#3046
b18469fThanks @christianhg! - fix: treatundefinedand[]as equal empty values in value syncAn
update valueevent carrying an empty array no longer clears text the user has typed when the editor's last synced value wasundefined. Both shapes mean "empty", so the update is now a no-op instead of counting as a remote change that wipes local content. This could surface as typed text suddenly disappearing in Sanity Studio when a stale document snapshot presented an empty field as[]after a dropped listener connection.A genuine remote clear, where the previously synced value was non-empty, still empties the editor as before.
v7.10.15Compare Source
Patch Changes
520e1beThanks @christianhg! - fix: runmarkDefand empty-span-annotation cleanup only as fallout of local editsUnused and duplicate
markDefs, and annotations on empty spans, are no longer cleaned up while adopting outside content or applying a collaborator's patches: adopted blocks keep those shapes exactly as the document has them. A local edit touching the block still cleans them up, emitted as part of that edit. Note that unusedmarkDefsarriving viainitialValueorupdate valueare still pruned at ingress by value validation.#3030
ff7e095Thanks @christianhg! - fix: report the sub-schema default style fromgetActiveStylefor blocks missingstylegetActiveStylenow reports the block's sub-schema default style (its first declared style) when the block carries nostylefield, instead ofundefined. Observable for values adopted without the field; toolbar style selectors stay populated on such blocks. A sub-schema declaring no styles still reportsundefined.#3016
03a0aaaThanks @christianhg! - fix: normalize optional-field defaults only when a local edit touches the blockLoading a document (
initialValue) or receiving anupdate valueno longer fills in missingstyle,marks, ormarkDefsfields: adopted blocks stay exactly as the document has them, in the editor's value too, and no patches are held back for them. When a local edit touches such a block, its defaults are filled in and emitted as part of that edit.Consumers reading
editor.getSnapshot().context.valuewill see adopted blocks without these optional fields until the user edits them (renderers already default the fields at read time). The first edit after opening no longer flushes a document-wide wave of default writes; each block's defaults ride the edit that touches it. Validity-critical repairs (missing_key/_type/text, duplicate keys, empty blocks) still run on every path.Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate using a curated preset maintained by
. View repository job log here