@slate-yjs/core 1.0.3 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/dist/applyToYjs/node/mergeNode.d.ts.map +1 -1
- package/dist/applyToYjs/node/moveNode.d.ts.map +1 -1
- package/dist/applyToYjs/node/splitNode.d.ts.map +1 -1
- package/dist/index.cjs +60 -36
- package/dist/index.cjs.map +1 -1
- package/dist/index.global.js +3851 -5380
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +60 -36
- package/dist/index.js.map +1 -1
- package/dist/plugins/withCursors.d.ts.map +1 -1
- package/dist/plugins/withYjs.d.ts.map +1 -1
- package/dist/utils/clone.d.ts.map +1 -1
- package/dist/utils/convert.d.ts.map +1 -1
- package/dist/utils/yjs.d.ts +3 -0
- package/dist/utils/yjs.d.ts.map +1 -1
- package/package.json +10 -5
- package/src/applyToYjs/node/mergeNode.ts +2 -3
- package/src/applyToYjs/node/moveNode.ts +41 -14
- package/src/applyToYjs/node/splitNode.ts +2 -3
- package/src/plugins/withCursors.ts +38 -11
- package/src/plugins/withYjs.ts +17 -0
- package/src/utils/clone.ts +5 -3
- package/src/utils/convert.ts +2 -1
- package/src/utils/yjs.ts +6 -0
- package/test/collaboration/addMark/acrossMarks.tsx +0 -40
- package/test/collaboration/addMark/acrossMarksSame.tsx +0 -36
- package/test/collaboration/addMark/atBeginningOfDocument.tsx +0 -27
- package/test/collaboration/addMark/atEndOfDocument.tsx +0 -30
- package/test/collaboration/addMark/withOtherMarks.tsx +0 -31
- package/test/collaboration/insertNode/atBeginningOfDocument.tsx +0 -28
- package/test/collaboration/insertNode/atEndOfDocument.tsx +0 -28
- package/test/collaboration/insertNode/inTheMiddle.tsx +0 -30
- package/test/collaboration/insertText/atBeginningOfBlock.tsx +0 -26
- package/test/collaboration/insertText/atBeginningOfDocument.tsx +0 -26
- package/test/collaboration/insertText/atEndOfBlock.tsx +0 -26
- package/test/collaboration/insertText/atEndOfDocument.tsx +0 -26
- package/test/collaboration/insertText/inTheMiddle.tsx +0 -32
- package/test/collaboration/insertText/inTheMiddleOfNestedBlock.tsx +0 -30
- package/test/collaboration/insertText/insideMarks.tsx +0 -28
- package/test/collaboration/insertText/withEmptyString.tsx +0 -25
- package/test/collaboration/insertText/withEntities.tsx +0 -28
- package/test/collaboration/insertText/withMarks.tsx +0 -25
- package/test/collaboration/insertText/withUnicode.tsx +0 -28
- package/test/collaboration/mergeNode/afterADeleteBackward.tsx +0 -27
- package/test/collaboration/mergeNode/inSameParent.tsx +0 -34
- package/test/collaboration/mergeNode/onMixedNestedNodes.tsx +0 -29
- package/test/collaboration/mergeNode/onMixedTypeNodes.tsx +0 -27
- package/test/collaboration/mergeNode/withUnicode.tsx +0 -25
- package/test/collaboration/moveNode/downward/whenBlockBecomesNested.tsx +0 -43
- package/test/collaboration/moveNode/downward/whenBlockBecomesNonNested.tsx +0 -41
- package/test/collaboration/moveNode/downward/whenBlockStaysNested.tsx +0 -38
- package/test/collaboration/moveNode/downward/whenBlockStaysNonNested.tsx +0 -30
- package/test/collaboration/moveNode/upward/whenBlockBecomesNested.tsx +0 -43
- package/test/collaboration/moveNode/upward/whenBlockBecomesNonNested.tsx +0 -41
- package/test/collaboration/moveNode/upward/whenBlockStaysNested.tsx +0 -38
- package/test/collaboration/moveNode/upward/whenBlockStaysNonNested.tsx +0 -30
- package/test/collaboration/removeMark/inTheMiddleOfText.tsx +0 -43
- package/test/collaboration/removeMark/withAddMark.tsx +0 -31
- package/test/collaboration/removeMark/withOtherMarks.tsx +0 -47
- package/test/collaboration/removeNode/atBeginningOfDocument.tsx +0 -26
- package/test/collaboration/removeNode/atEndOfDocument.tsx +0 -26
- package/test/collaboration/removeNode/nestedBlock.tsx +0 -28
- package/test/collaboration/removeNode/wrapperBlock.tsx +0 -28
- package/test/collaboration/removeText/atBeginningOfDocument.tsx +0 -34
- package/test/collaboration/removeText/atEndOfDocument.tsx +0 -37
- package/test/collaboration/removeText/withUnicode.tsx +0 -29
- package/test/collaboration/setNode/atBeginningOfDocument.tsx +0 -27
- package/test/collaboration/setNode/atEndOfDocument.tsx +0 -27
- package/test/collaboration/setNode/onDataChange.tsx +0 -35
- package/test/collaboration/setNode/onDataChangeOnInline.tsx +0 -35
- package/test/collaboration/setNode/onResetBlock.tsx +0 -27
- package/test/collaboration/setNode/withAChangeOfType.tsx +0 -26
- package/test/collaboration/splitNode/atBeginningOfDocument.tsx +0 -28
- package/test/collaboration/splitNode/atEndOfBlock.tsx +0 -27
- package/test/collaboration/splitNode/atEndOfDocument.tsx +0 -27
- package/test/collaboration/splitNode/onNonDefaultBlock.tsx +0 -27
- package/test/collaboration/splitNode/withMultipleSubNodes.tsx +0 -32
- package/test/collaboration/splitNode/withUnicode.tsx +0 -29
- package/test/index.test.ts +0 -65
- package/test/slate.d.ts +0 -8
- package/test/withTestingElements.ts +0 -46
- package/tsconfig.json +0 -11
- package/tsup.config.ts +0 -32
There are too many changes on this page to be displayed.
The amount of changes on this page would crash your brower.
You can still verify the content by downloading the package file manually.