Skip to content

Releases: portabletext/editor

editor: v1.27.0

29 Jan 11:19
Compare
Choose a tag to compare

1.27.0 (2025-01-29)

Features

  • ship initial @portabletext/editor/plugins (c026557)

Bug Fixes

  • avoid clearing initial placeholder value (072d729)
  • deps: update sanity monorepo to ^3.72.1 (8a82ff8)
  • mark mutation and patches events [@public](https://github.com/public) (17eea93)
  • mark PickFromUnion/OmitFromUnion [@internal](https://github.com/internal) (76dd35b)
  • remove [@internal](https://github.com/internal) type exports (8c74ea3)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @portabletext/block-tools bumped to 1.1.4

block-tools: v1.1.4

29 Jan 11:19
Compare
Choose a tag to compare

1.1.4 (2025-01-29)

Bug Fixes

  • deps: update sanity monorepo to ^3.72.1 (8a82ff8)

racejar: v1.1.2

27 Jan 10:31
826aa55
Compare
Choose a tag to compare

1.1.2 (2025-01-27)

Bug Fixes

  • deps: update dependency @playwright/test to ^1.50.0 (a55a0f5)

editor: v1.26.3

27 Jan 19:18
Compare
Choose a tag to compare

1.26.3 (2025-01-27)

Bug Fixes

  • allow safe behaviors while syncing (cd2813a)

editor: v1.26.2

27 Jan 10:31
826aa55
Compare
Choose a tag to compare

1.26.2 (2025-01-27)

Bug Fixes

  • deps: update react compiler dependencies 🤖 ✨ (#735) (f3ce24d)

Dependencies

  • The following workspace dependencies were updated
    • devDependencies
      • racejar bumped to 1.1.2

editor: v1.26.1

24 Jan 10:15
Compare
Choose a tag to compare

1.26.1 (2025-01-24)

Bug Fixes

  • deps: update sanity monorepo to ^3.71.2 (5c815ce)
  • make text block parsing more lax (7032886)
  • only generate new _keys when necessary (4552bd4)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @portabletext/block-tools bumped to 1.1.3

block-tools: v1.1.3

24 Jan 10:15
Compare
Choose a tag to compare

1.1.3 (2025-01-24)

Bug Fixes

  • deps: update sanity monorepo to ^3.71.2 (5c815ce)

editor: v1.26.0

23 Jan 13:06
Compare
Choose a tag to compare

1.26.0 (2025-01-23)

Features

  • behaviors: add block.(set|unset) events and actions (f804157)
  • behaviors: add insert.block event and action (0fd745b)
  • core behaviors: raise insert.text event from insert.sort break Behavior (c35b7bd)
  • move insert.break at start/end of text block to core Behaviors (56ff60b)
  • selectors: add isAtThe(End|Start)OfBlock (470d533)
  • utils: add getBlockEndPoint (e9d208f)
  • utils: add isEqualSelectionPoints (d8c3941)

Bug Fixes

  • fix issue with inserting block before/after empty block in empty editor (3622e7d)
  • selectors: account for no selection in isSelectionCollapsed (e3e5766)

patches: v1.1.2

22 Jan 13:07
Compare
Choose a tag to compare

1.1.2 (2025-01-22)

Bug Fixes

  • deps: update dependency @sanity/diff-match-patch to ^3.2.0 (371ac30)

editor: v1.25.0

22 Jan 15:21
Compare
Choose a tag to compare

1.25.0 (2025-01-22)

Features

  • behaviors: promote annotation.toggle to an event (8383b3b)
  • behaviors: promote decorator.(add|remove) to events (079b4e4)
  • behaviors: promote delete.block to an event (df466a3)
  • behaviors: promote delete.text to an event (435de66)
  • behaviors: promote insert.span to an event (7b3b2c3)
  • behaviors: promote insert.text block to an event (3c78ed2)
  • behaviors: promote list item.(add|remove) to events (63cbaca)
  • behaviors: promote move.* actions to events (485e189)
  • behaviors: promote select.* actions to events (81f3858)
  • behaviors: promote style.(add|remove) to events (6a5f1f6)
  • behaviors: promote text block.* actions to events (b9057da)
  • core behaviors: raise annotation.(add|remove) events (3ff7498)
  • core behaviors: raise decorator.(add|remove) events (ce99235)
  • core behaviors: raise delete.block and select (ab5fb23)
  • core behaviors: raise insert.text block and select.previous block events (17bc728)
  • core behaviors: raise list item.(add|remove) events (2b1fdb7)
  • core behaviors: raise style.(add|remove) events (6f5acb8)
  • core behaviors: raise text block.* events (6c4b581)

Bug Fixes

  • behaviors: add missing events to editor.send(...) (03f3192)
  • deps: update sanity monorepo to ^3.71.1 (6234d33)
  • EditorEventListener: only emit external events (f5df2e3)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @portabletext/block-tools bumped to 1.1.2