Releases: BitPhinix/slate-yjs
Releases · BitPhinix/slate-yjs
@slate-yjs/[email protected]
@slate-yjs/[email protected]
Patch Changes
- #411
117c9e5
Thanks @BrentFarese! - Patch bug in mergeNode that causes getYTarget to error.
@slate-yjs/[email protected]
Patch Changes
- #402
c453baf
Thanks @juliankrispel! - Fix applyDelta to produce correct slate operations for adjacent text operations
@slate-yjs/[email protected]
Patch Changes
- Updated dependencies [
a6a27c8
,a6a27c8
,72bbbf3
]:- @slate-yjs/[email protected]
@slate-yjs/[email protected]
Minor Changes
-
#395
a6a27c8
Thanks @BitPhinix! - ignore formatting attributes for non-text -
#398
72bbbf3
Thanks @gblaketx! - Fix assoc calculation when creating relative position from a Slate point
Patch Changes
- #395
a6a27c8
Thanks @BitPhinix! - chore: remove unnecessary assertion
@slate-yjs/[email protected]
Patch Changes
- #369
aa10864
Thanks @BitPhinix! - Normalize editor on connect to avoid rendering denormalized state
@slate-yjs/[email protected]
Minor Changes
-
#363
3710c48
Thanks @BitPhinix! - Changed:- Rewrite of
useRemoteCursorOverlayPositions
to provide stricter typings, make it react 18 safe and add newshouldGenerateOverlay
option.
Added:
- Remote cursor decorations using the new
useDecorateRemoteCursors
hook - Remote cursor data hooks
useRemoteCursorStatesSelector
anduseRemoteCursorStates
- Utility hooks to un-send the current cursor position on window/editor blur:
useUnsetCursorPositionOnBlur
getCursorRange
helper
- Rewrite of
Patch Changes
- Updated dependencies [
3710c48
]:- @slate-yjs/[email protected]
@slate-yjs/[email protected]
Patch Changes
- #363
3710c48
Thanks @BitPhinix! - LoosenCursorEditor.isCursorEditor
to not check awareness instance.