Skip to content

Releases: portabletext/editor

editor: v1.9.0

15 Nov 12:20
Compare
Choose a tag to compare

1.9.0 (2024-11-15)

Features

  • behavior: export small link behaviors plugin (5ca657e)
  • behavior: support 'insert span' action (f5a8531)
  • behavior: support 'paste' action and event (8844ae4)

Bug Fixes

  • deps: Update sanity monorepo to ^3.64.1 (0e9ec3d)
  • fix isMarkActive false positive when only selecting objects (05cccad)
  • fix issue with expanded selection potentially removing selection (fe01442)
  • only prevent default paste event when necessary (49303e2)

editor: v1.10.0

15 Nov 13:36
Compare
Choose a tag to compare

1.10.0 (2024-11-15)

Features

  • markdown behavior: support * and _ for horizontal rules (1e13952)

Bug Fixes

  • link behavior: rename mapLinkAnnotation->linkAnnotation (602ea1f)
  • markdown behavior: rename and clean up schema mappings (23b1450)

editor: v1.8.0

13 Nov 12:20
Compare
Choose a tag to compare

1.8.0 (2024-11-13)

Features

  • behavior: support 'insert block object' action (d45b230)
  • markdown behavior: add automatic break behavior (36821d7)

Bug Fixes

  • markdown behavior: make all schema mapping optional (388ae38)
  • remove unneeded export (69985b4)

editor: v1.7.1

13 Nov 09:31
Compare
Choose a tag to compare

1.7.1 (2024-11-13)

Bug Fixes

  • deps: update dependency @xstate/react to v5 (65cebaa)
  • deps: update dependency xstate to v5.19.0 (b90e0c4)
  • deps: Update sanity monorepo to ^3.64.0 (ba0fc26)
  • move Slate editor teardown logic to createSlateEditor (e353c64)

editor: v1.7.0

12 Nov 13:39
Compare
Choose a tag to compare

1.7.0 (2024-11-12)

Features

  • behavior: add annotation.(add|remove|toggle) events and actions (9b6a334)
  • behavior: support for imperative annotation.(add|remove|toggle) and focus (1b7b374)

Bug Fixes

  • deps: update react compiler dependencies 🤖 ✨ (6551392)
  • internals: create Slate editor outside of React (1c11745)
  • deps: remove @sanity/util dependency (c11c44c)

editor: v1.6.1

07 Nov 22:00
42b5bd3
Compare
Choose a tag to compare

1.6.1 (2024-11-07)

Bug Fixes

  • react-compiler: handle mutation violation (#338) (1e6ea1c)

editor: v1.6.0

07 Nov 21:45
24d49d9
Compare
Choose a tag to compare

1.6.0 (2024-11-07)

Features

  • behavior: add decorator.(add|remove|toggle) events and actions (42fc03b)

Bug Fixes

  • markdown behavior: explicitly set default style when toggling list (c8575d2)

editor: v1.5.6

07 Nov 15:19
50b95e1
Compare
Choose a tag to compare

1.5.6 (2024-11-07)

Bug Fixes

  • deps: update react compiler dependencies 🤖 ✨ (#383) (be449e1)

editor: v1.5.5

06 Nov 13:36
Compare
Choose a tag to compare

1.5.5 (2024-11-06)

Bug Fixes

  • deps: Update sanity monorepo to ^3.63.0 (#375) (c9f9289)
  • markdown behavior: allow automatic headings in non-empty block (8f3c0cb)
  • markdown behavior: clear style on backspace in non-empty block (8bd2011)
  • markdown behavior: fix automatic blockquote edge cases (4da37fa)
  • markdown behavior: fix automatic list edge cases (d3a55a2)
  • markdown behavior: prevent automatic heading if caret is not at the end of heading (cb4f3b7)
  • skip undo history logic hwne changing remotely or undoing/redoing (6c54599)

editor: v1.5.4

04 Nov 12:17
Compare
Choose a tag to compare

1.5.4 (2024-11-04)

Bug Fixes

  • deps: update dependency react-compiler-runtime to v19.0.0-beta-9ee70a1-20241017 (bbe5ebd)
  • merge spans with same but different-ordered marks (cf72032)