Releases: BitPhinix/slate-yjs
Releases · BitPhinix/slate-yjs
@slate-yjs/react@1.1.0
@slate-yjs/core@1.0.2
Patch Changes
- #411
117c9e5
Thanks @BrentFarese! - Patch bug in mergeNode that causes getYTarget to error.
@slate-yjs/core@1.0.1
Patch Changes
- #402
c453baf
Thanks @juliankrispel! - Fix applyDelta to produce correct slate operations for adjacent text operations
@slate-yjs/react@1.0.0
@slate-yjs/core@1.0.0
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/core@0.3.1
Patch Changes
- #369
aa10864
Thanks @BitPhinix! - Normalize editor on connect to avoid rendering denormalized state
@slate-yjs/react@0.3.0
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/core@0.3.0
@slate-yjs/core@0.3.0
Patch Changes
- #363
3710c48
Thanks @BitPhinix! - LoosenCursorEditor.isCursorEditor
to not check awareness instance.