Skip to content

Releases: portabletext/editor

editor: v1.11.0

21 Nov 13:23
Compare
Choose a tag to compare

1.11.0 (2024-11-21)

Features

  • add EditorProvider and EditorEventListener (55edcde)

Bug Fixes

  • deps: Update sanity monorepo to ^3.64.2 (7b6d138)
  • useEditor: allow configure of initial readOnly and remove Editor.readOnly (edcee2c)
  • useEditor: improve types and memoization (41ef38a)

editor: v1.10.2

18 Nov 13:52
Compare
Choose a tag to compare

1.10.2 (2024-11-18)

Bug Fixes

  • deps: update react compiler dependencies 🤖 ✨ (#430) (ea98c12)
  • remove online/offline listener (3395d62)

editor: v1.10.1

18 Nov 10:09
Compare
Choose a tag to compare

1.10.1 (2024-11-18)

Bug Fixes

  • experimental useEditor: move value update handling to editor (c064849)
  • experimental useEditor: remove editorRef prop (2b9c07c)
  • guard against possibly undefined window (34836ca)

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)