Releases: portabletext/editor
Releases · portabletext/editor
editor: v1.11.0
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
1.10.2 (2024-11-18)
Bug Fixes
- deps: update react compiler dependencies 🤖 ✨ (#430) (ea98c12)
- remove online/offline listener (3395d62)
editor: v1.10.1
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
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
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
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
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
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
1.6.1 (2024-11-07)
Bug Fixes
- react-compiler: handle mutation violation (#338) (1e6ea1c)
editor: v1.6.0
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)