├── .changeset ├── README.md └── config.json ├── .dockerignore ├── .eslintignore ├── .eslintrc.json ├── .gitbook.yaml ├── .github ├── FUNDING.yml └── workflows │ ├── deploy.yml │ ├── lint.yml │ ├── release.yml │ └── test.yml ├── .gitignore ├── .nvmrc ├── .prettierignore ├── .prettierrc ├── .yarn ├── plugins │ └── @yarnpkg │ │ ├── plugin-typescript.cjs │ │ └── plugin-workspace-tools.cjs └── releases │ └── yarn-berry.cjs ├── .yarnrc.yml ├── LICENSE.md ├── README.md ├── config └── typescript │ └── tsconfig.json ├── docs ├── README.md ├── SUMMARY.md ├── api │ ├── slate-yjs-core │ │ ├── README.md │ │ ├── cursor-plugin.md │ │ ├── history-plugin.md │ │ ├── utils.md │ │ └── yjs-plugin.md │ └── slate-yjs-react │ │ ├── README.md │ │ ├── cursor-decorations.md │ │ ├── cursor-overlay.md │ │ ├── cursor-selectors.md │ │ └── utilities.md ├── concepts │ └── stored-positions.md ├── contributing │ └── contributing.md ├── images │ ├── banner.svg │ └── demo.gif └── walkthroughs │ ├── collaboration-hocuspocus.md │ └── installation.md ├── examples ├── backend │ ├── CHANGELOG.md │ ├── Dockerfile │ ├── package.json │ ├── src │ │ ├── data │ │ │ └── initialValue.json │ │ └── index.ts │ ├── tsconfig.json │ └── tsup.config.ts └── frontend │ ├── .env │ ├── CHANGELOG.md │ ├── assets │ ├── connected.svg │ ├── disconnected.svg │ ├── favicon.svg │ └── menu.svg │ ├── index.html │ ├── package.json │ ├── public │ └── _redirects │ ├── src │ ├── components │ │ ├── ConnectionToggle │ │ │ └── ConnectionToggle.tsx │ │ ├── CustomEditable │ │ │ └── CustomEditable.tsx │ │ ├── Element │ │ │ ├── Element.tsx │ │ │ └── style.css │ │ ├── FormatToolbar │ │ │ ├── FormatButton.tsx │ │ │ └── FormatToolbar.tsx │ │ ├── Leaf │ │ │ └── Leaf.tsx │ │ ├── Navigator │ │ │ ├── Navigator.tsx │ │ │ └── style.css │ │ └── Spinner │ │ │ └── Spinner.tsx │ ├── config.ts │ ├── index.tsx │ ├── pages │ │ ├── NotFound.tsx │ │ ├── RemoteCursorDecorations.tsx │ │ ├── RemoteCursorOverlay │ │ │ ├── Overlay.tsx │ │ │ └── index.tsx │ │ └── Simple.tsx │ ├── plugins │ │ ├── withMarkdown.ts │ │ └── withNormalize.ts │ ├── slate.d.ts │ ├── types.ts │ └── utils.ts │ ├── tsconfig.json │ ├── vite.config.ts │ └── windi.config.ts ├── package.json ├── packages ├── core │ ├── CHANGELOG.md │ ├── README.md │ ├── package.json │ ├── src │ │ ├── applyToSlate │ │ │ ├── index.ts │ │ │ └── textEvent.ts │ │ ├── applyToYjs │ │ │ ├── index.ts │ │ │ ├── node │ │ │ │ ├── index.ts │ │ │ │ ├── insertNode.ts │ │ │ │ ├── mergeNode.ts │ │ │ │ ├── moveNode.ts │ │ │ │ ├── removeNode.ts │ │ │ │ ├── setNode.ts │ │ │ │ └── splitNode.ts │ │ │ ├── text │ │ │ │ ├── index.ts │ │ │ │ ├── insertText.ts │ │ │ │ └── removeText.ts │ │ │ └── types.ts │ │ ├── index.ts │ │ ├── model │ │ │ └── types.ts │ │ ├── plugins │ │ │ ├── index.ts │ │ │ ├── withCursors.ts │ │ │ ├── withYHistory.ts │ │ │ └── withYjs.ts │ │ └── utils │ │ │ ├── clone.ts │ │ │ ├── convert.ts │ │ │ ├── delta.ts │ │ │ ├── location.ts │ │ │ ├── object.ts │ │ │ ├── position.ts │ │ │ ├── slate.ts │ │ │ └── yjs.ts │ ├── test │ │ ├── collaboration │ │ │ ├── addMark │ │ │ │ ├── acrossMarks.tsx │ │ │ │ ├── acrossMarksSame.tsx │ │ │ │ ├── atBeginningOfDocument.tsx │ │ │ │ ├── atEndOfDocument.tsx │ │ │ │ └── withOtherMarks.tsx │ │ │ ├── insertNode │ │ │ │ ├── atBeginningOfDocument.tsx │ │ │ │ ├── atEndOfDocument.tsx │ │ │ │ └── inTheMiddle.tsx │ │ │ ├── insertText │ │ │ │ ├── atBeginningOfBlock.tsx │ │ │ │ ├── atBeginningOfDocument.tsx │ │ │ │ ├── atEndOfBlock.tsx │ │ │ │ ├── atEndOfDocument.tsx │ │ │ │ ├── inTheMiddle.tsx │ │ │ │ ├── inTheMiddleOfNestedBlock.tsx │ │ │ │ ├── insideMarks.tsx │ │ │ │ ├── withEmptyString.tsx │ │ │ │ ├── withEntities.tsx │ │ │ │ ├── withMarks.tsx │ │ │ │ └── withUnicode.tsx │ │ │ ├── mergeNode │ │ │ │ ├── afterADeleteBackward.tsx │ │ │ │ ├── inSameParent.tsx │ │ │ │ ├── onMixedNestedNodes.tsx │ │ │ │ ├── onMixedTypeNodes.tsx │ │ │ │ └── withUnicode.tsx │ │ │ ├── moveNode │ │ │ │ ├── downward │ │ │ │ │ ├── whenBlockBecomesNested.tsx │ │ │ │ │ ├── whenBlockBecomesNonNested.tsx │ │ │ │ │ ├── whenBlockStaysNested.tsx │ │ │ │ │ └── whenBlockStaysNonNested.tsx │ │ │ │ └── upward │ │ │ │ │ ├── whenBlockBecomesNested.tsx │ │ │ │ │ ├── whenBlockBecomesNonNested.tsx │ │ │ │ │ ├── whenBlockStaysNested.tsx │ │ │ │ │ └── whenBlockStaysNonNested.tsx │ │ │ ├── removeMark │ │ │ │ ├── inTheMiddleOfText.tsx │ │ │ │ ├── withAddMark.tsx │ │ │ │ └── withOtherMarks.tsx │ │ │ ├── removeNode │ │ │ │ ├── atBeginningOfDocument.tsx │ │ │ │ ├── atEndOfDocument.tsx │ │ │ │ ├── nestedBlock.tsx │ │ │ │ └── wrapperBlock.tsx │ │ │ ├── removeText │ │ │ │ ├── atBeginningOfDocument.tsx │ │ │ │ ├── atEndOfDocument.tsx │ │ │ │ └── withUnicode.tsx │ │ │ ├── setNode │ │ │ │ ├── atBeginningOfDocument.tsx │ │ │ │ ├── atEndOfDocument.tsx │ │ │ │ ├── onDataChange.tsx │ │ │ │ ├── onDataChangeOnInline.tsx │ │ │ │ ├── onResetBlock.tsx │ │ │ │ └── withAChangeOfType.tsx │ │ │ └── splitNode │ │ │ │ ├── atBeginningOfDocument.tsx │ │ │ │ ├── atEndOfBlock.tsx │ │ │ │ ├── atEndOfDocument.tsx │ │ │ │ ├── onNonDefaultBlock.tsx │ │ │ │ ├── withMultipleSubNodes.tsx │ │ │ │ └── withUnicode.tsx │ │ ├── index.test.ts │ │ ├── slate.d.ts │ │ └── withTestingElements.ts │ ├── tsconfig.json │ └── tsup.config.ts └── react │ ├── CHANGELOG.md │ ├── README.md │ ├── package.json │ ├── src │ ├── hooks │ │ ├── useDecorateRemoteCursors.ts │ │ ├── useRemoteCursorEditor.ts │ │ ├── useRemoteCursorOverlayPositions.tsx │ │ ├── useRemoteCursorStateStore.ts │ │ ├── useRemoteCursorStates.ts │ │ ├── useUnsetCursorPositionOnBlur.ts │ │ └── utils.ts │ ├── index.ts │ ├── types.ts │ └── utils │ │ ├── getCursorRange.ts │ │ ├── getOverlayPosition.ts │ │ └── react-editor-to-dom-range-safe.ts │ ├── tsconfig.json │ └── tsup.config.ts ├── support ├── fixtures.ts ├── jsx.d.ts ├── jsx.ts └── utils.ts ├── tsconfig.json ├── vitest.config.ts └── yarn.lock /.changeset/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/.changeset/README.md -------------------------------------------------------------------------------- /.changeset/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/.changeset/config.json -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/.dockerignore -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.gitbook.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/.gitbook.yaml -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/workflows/deploy.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/.github/workflows/deploy.yml -------------------------------------------------------------------------------- /.github/workflows/lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/.github/workflows/lint.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/.gitignore -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | lts/gallium 2 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true 3 | } 4 | -------------------------------------------------------------------------------- /.yarn/plugins/@yarnpkg/plugin-typescript.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/.yarn/plugins/@yarnpkg/plugin-typescript.cjs -------------------------------------------------------------------------------- /.yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/.yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs -------------------------------------------------------------------------------- /.yarn/releases/yarn-berry.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/.yarn/releases/yarn-berry.cjs -------------------------------------------------------------------------------- /.yarnrc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/.yarnrc.yml -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/README.md -------------------------------------------------------------------------------- /config/typescript/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/config/typescript/tsconfig.json -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/docs/README.md -------------------------------------------------------------------------------- /docs/SUMMARY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/docs/SUMMARY.md -------------------------------------------------------------------------------- /docs/api/slate-yjs-core/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/docs/api/slate-yjs-core/README.md -------------------------------------------------------------------------------- /docs/api/slate-yjs-core/cursor-plugin.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/docs/api/slate-yjs-core/cursor-plugin.md -------------------------------------------------------------------------------- /docs/api/slate-yjs-core/history-plugin.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/docs/api/slate-yjs-core/history-plugin.md -------------------------------------------------------------------------------- /docs/api/slate-yjs-core/utils.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/docs/api/slate-yjs-core/utils.md -------------------------------------------------------------------------------- /docs/api/slate-yjs-core/yjs-plugin.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/docs/api/slate-yjs-core/yjs-plugin.md -------------------------------------------------------------------------------- /docs/api/slate-yjs-react/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/docs/api/slate-yjs-react/README.md -------------------------------------------------------------------------------- /docs/api/slate-yjs-react/cursor-decorations.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/docs/api/slate-yjs-react/cursor-decorations.md -------------------------------------------------------------------------------- /docs/api/slate-yjs-react/cursor-overlay.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/docs/api/slate-yjs-react/cursor-overlay.md -------------------------------------------------------------------------------- /docs/api/slate-yjs-react/cursor-selectors.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/docs/api/slate-yjs-react/cursor-selectors.md -------------------------------------------------------------------------------- /docs/api/slate-yjs-react/utilities.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/docs/api/slate-yjs-react/utilities.md -------------------------------------------------------------------------------- /docs/concepts/stored-positions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/docs/concepts/stored-positions.md -------------------------------------------------------------------------------- /docs/contributing/contributing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/docs/contributing/contributing.md -------------------------------------------------------------------------------- /docs/images/banner.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/docs/images/banner.svg -------------------------------------------------------------------------------- /docs/images/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/docs/images/demo.gif -------------------------------------------------------------------------------- /docs/walkthroughs/collaboration-hocuspocus.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/docs/walkthroughs/collaboration-hocuspocus.md -------------------------------------------------------------------------------- /docs/walkthroughs/installation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/docs/walkthroughs/installation.md -------------------------------------------------------------------------------- /examples/backend/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/examples/backend/CHANGELOG.md -------------------------------------------------------------------------------- /examples/backend/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/examples/backend/Dockerfile -------------------------------------------------------------------------------- /examples/backend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/examples/backend/package.json -------------------------------------------------------------------------------- /examples/backend/src/data/initialValue.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/examples/backend/src/data/initialValue.json -------------------------------------------------------------------------------- /examples/backend/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/examples/backend/src/index.ts -------------------------------------------------------------------------------- /examples/backend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/examples/backend/tsconfig.json -------------------------------------------------------------------------------- /examples/backend/tsup.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/examples/backend/tsup.config.ts -------------------------------------------------------------------------------- /examples/frontend/.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/examples/frontend/.env -------------------------------------------------------------------------------- /examples/frontend/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/examples/frontend/CHANGELOG.md -------------------------------------------------------------------------------- /examples/frontend/assets/connected.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/examples/frontend/assets/connected.svg -------------------------------------------------------------------------------- /examples/frontend/assets/disconnected.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/examples/frontend/assets/disconnected.svg -------------------------------------------------------------------------------- /examples/frontend/assets/favicon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/examples/frontend/assets/favicon.svg -------------------------------------------------------------------------------- /examples/frontend/assets/menu.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/examples/frontend/assets/menu.svg -------------------------------------------------------------------------------- /examples/frontend/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/examples/frontend/index.html -------------------------------------------------------------------------------- /examples/frontend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/examples/frontend/package.json -------------------------------------------------------------------------------- /examples/frontend/public/_redirects: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/examples/frontend/public/_redirects -------------------------------------------------------------------------------- /examples/frontend/src/components/ConnectionToggle/ConnectionToggle.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/examples/frontend/src/components/ConnectionToggle/ConnectionToggle.tsx -------------------------------------------------------------------------------- /examples/frontend/src/components/CustomEditable/CustomEditable.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/examples/frontend/src/components/CustomEditable/CustomEditable.tsx -------------------------------------------------------------------------------- /examples/frontend/src/components/Element/Element.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/examples/frontend/src/components/Element/Element.tsx -------------------------------------------------------------------------------- /examples/frontend/src/components/Element/style.css: -------------------------------------------------------------------------------- 1 | blockquote::before { 2 | content: ' '; 3 | @apply bg-gray-400 w-1 min-w-max mr-3; 4 | } 5 | -------------------------------------------------------------------------------- /examples/frontend/src/components/FormatToolbar/FormatButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/examples/frontend/src/components/FormatToolbar/FormatButton.tsx -------------------------------------------------------------------------------- /examples/frontend/src/components/FormatToolbar/FormatToolbar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/examples/frontend/src/components/FormatToolbar/FormatToolbar.tsx -------------------------------------------------------------------------------- /examples/frontend/src/components/Leaf/Leaf.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/examples/frontend/src/components/Leaf/Leaf.tsx -------------------------------------------------------------------------------- /examples/frontend/src/components/Navigator/Navigator.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/examples/frontend/src/components/Navigator/Navigator.tsx -------------------------------------------------------------------------------- /examples/frontend/src/components/Navigator/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/examples/frontend/src/components/Navigator/style.css -------------------------------------------------------------------------------- /examples/frontend/src/components/Spinner/Spinner.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/examples/frontend/src/components/Spinner/Spinner.tsx -------------------------------------------------------------------------------- /examples/frontend/src/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/examples/frontend/src/config.ts -------------------------------------------------------------------------------- /examples/frontend/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/examples/frontend/src/index.tsx -------------------------------------------------------------------------------- /examples/frontend/src/pages/NotFound.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/examples/frontend/src/pages/NotFound.tsx -------------------------------------------------------------------------------- /examples/frontend/src/pages/RemoteCursorDecorations.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/examples/frontend/src/pages/RemoteCursorDecorations.tsx -------------------------------------------------------------------------------- /examples/frontend/src/pages/RemoteCursorOverlay/Overlay.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/examples/frontend/src/pages/RemoteCursorOverlay/Overlay.tsx -------------------------------------------------------------------------------- /examples/frontend/src/pages/RemoteCursorOverlay/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/examples/frontend/src/pages/RemoteCursorOverlay/index.tsx -------------------------------------------------------------------------------- /examples/frontend/src/pages/Simple.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/examples/frontend/src/pages/Simple.tsx -------------------------------------------------------------------------------- /examples/frontend/src/plugins/withMarkdown.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/examples/frontend/src/plugins/withMarkdown.ts -------------------------------------------------------------------------------- /examples/frontend/src/plugins/withNormalize.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/examples/frontend/src/plugins/withNormalize.ts -------------------------------------------------------------------------------- /examples/frontend/src/slate.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/examples/frontend/src/slate.d.ts -------------------------------------------------------------------------------- /examples/frontend/src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/examples/frontend/src/types.ts -------------------------------------------------------------------------------- /examples/frontend/src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/examples/frontend/src/utils.ts -------------------------------------------------------------------------------- /examples/frontend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/examples/frontend/tsconfig.json -------------------------------------------------------------------------------- /examples/frontend/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/examples/frontend/vite.config.ts -------------------------------------------------------------------------------- /examples/frontend/windi.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/examples/frontend/windi.config.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/package.json -------------------------------------------------------------------------------- /packages/core/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/CHANGELOG.md -------------------------------------------------------------------------------- /packages/core/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/README.md -------------------------------------------------------------------------------- /packages/core/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/package.json -------------------------------------------------------------------------------- /packages/core/src/applyToSlate/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/src/applyToSlate/index.ts -------------------------------------------------------------------------------- /packages/core/src/applyToSlate/textEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/src/applyToSlate/textEvent.ts -------------------------------------------------------------------------------- /packages/core/src/applyToYjs/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/src/applyToYjs/index.ts -------------------------------------------------------------------------------- /packages/core/src/applyToYjs/node/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/src/applyToYjs/node/index.ts -------------------------------------------------------------------------------- /packages/core/src/applyToYjs/node/insertNode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/src/applyToYjs/node/insertNode.ts -------------------------------------------------------------------------------- /packages/core/src/applyToYjs/node/mergeNode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/src/applyToYjs/node/mergeNode.ts -------------------------------------------------------------------------------- /packages/core/src/applyToYjs/node/moveNode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/src/applyToYjs/node/moveNode.ts -------------------------------------------------------------------------------- /packages/core/src/applyToYjs/node/removeNode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/src/applyToYjs/node/removeNode.ts -------------------------------------------------------------------------------- /packages/core/src/applyToYjs/node/setNode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/src/applyToYjs/node/setNode.ts -------------------------------------------------------------------------------- /packages/core/src/applyToYjs/node/splitNode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/src/applyToYjs/node/splitNode.ts -------------------------------------------------------------------------------- /packages/core/src/applyToYjs/text/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/src/applyToYjs/text/index.ts -------------------------------------------------------------------------------- /packages/core/src/applyToYjs/text/insertText.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/src/applyToYjs/text/insertText.ts -------------------------------------------------------------------------------- /packages/core/src/applyToYjs/text/removeText.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/src/applyToYjs/text/removeText.ts -------------------------------------------------------------------------------- /packages/core/src/applyToYjs/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/src/applyToYjs/types.ts -------------------------------------------------------------------------------- /packages/core/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/src/index.ts -------------------------------------------------------------------------------- /packages/core/src/model/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/src/model/types.ts -------------------------------------------------------------------------------- /packages/core/src/plugins/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/src/plugins/index.ts -------------------------------------------------------------------------------- /packages/core/src/plugins/withCursors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/src/plugins/withCursors.ts -------------------------------------------------------------------------------- /packages/core/src/plugins/withYHistory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/src/plugins/withYHistory.ts -------------------------------------------------------------------------------- /packages/core/src/plugins/withYjs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/src/plugins/withYjs.ts -------------------------------------------------------------------------------- /packages/core/src/utils/clone.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/src/utils/clone.ts -------------------------------------------------------------------------------- /packages/core/src/utils/convert.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/src/utils/convert.ts -------------------------------------------------------------------------------- /packages/core/src/utils/delta.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/src/utils/delta.ts -------------------------------------------------------------------------------- /packages/core/src/utils/location.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/src/utils/location.ts -------------------------------------------------------------------------------- /packages/core/src/utils/object.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/src/utils/object.ts -------------------------------------------------------------------------------- /packages/core/src/utils/position.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/src/utils/position.ts -------------------------------------------------------------------------------- /packages/core/src/utils/slate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/src/utils/slate.ts -------------------------------------------------------------------------------- /packages/core/src/utils/yjs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/src/utils/yjs.ts -------------------------------------------------------------------------------- /packages/core/test/collaboration/addMark/acrossMarks.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/addMark/acrossMarks.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/addMark/acrossMarksSame.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/addMark/acrossMarksSame.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/addMark/atBeginningOfDocument.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/addMark/atBeginningOfDocument.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/addMark/atEndOfDocument.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/addMark/atEndOfDocument.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/addMark/withOtherMarks.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/addMark/withOtherMarks.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/insertNode/atBeginningOfDocument.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/insertNode/atBeginningOfDocument.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/insertNode/atEndOfDocument.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/insertNode/atEndOfDocument.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/insertNode/inTheMiddle.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/insertNode/inTheMiddle.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/insertText/atBeginningOfBlock.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/insertText/atBeginningOfBlock.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/insertText/atBeginningOfDocument.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/insertText/atBeginningOfDocument.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/insertText/atEndOfBlock.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/insertText/atEndOfBlock.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/insertText/atEndOfDocument.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/insertText/atEndOfDocument.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/insertText/inTheMiddle.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/insertText/inTheMiddle.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/insertText/inTheMiddleOfNestedBlock.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/insertText/inTheMiddleOfNestedBlock.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/insertText/insideMarks.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/insertText/insideMarks.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/insertText/withEmptyString.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/insertText/withEmptyString.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/insertText/withEntities.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/insertText/withEntities.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/insertText/withMarks.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/insertText/withMarks.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/insertText/withUnicode.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/insertText/withUnicode.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/mergeNode/afterADeleteBackward.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/mergeNode/afterADeleteBackward.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/mergeNode/inSameParent.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/mergeNode/inSameParent.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/mergeNode/onMixedNestedNodes.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/mergeNode/onMixedNestedNodes.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/mergeNode/onMixedTypeNodes.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/mergeNode/onMixedTypeNodes.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/mergeNode/withUnicode.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/mergeNode/withUnicode.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/moveNode/downward/whenBlockBecomesNested.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/moveNode/downward/whenBlockBecomesNested.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/moveNode/downward/whenBlockBecomesNonNested.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/moveNode/downward/whenBlockBecomesNonNested.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/moveNode/downward/whenBlockStaysNested.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/moveNode/downward/whenBlockStaysNested.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/moveNode/downward/whenBlockStaysNonNested.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/moveNode/downward/whenBlockStaysNonNested.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/moveNode/upward/whenBlockBecomesNested.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/moveNode/upward/whenBlockBecomesNested.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/moveNode/upward/whenBlockBecomesNonNested.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/moveNode/upward/whenBlockBecomesNonNested.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/moveNode/upward/whenBlockStaysNested.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/moveNode/upward/whenBlockStaysNested.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/moveNode/upward/whenBlockStaysNonNested.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/moveNode/upward/whenBlockStaysNonNested.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/removeMark/inTheMiddleOfText.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/removeMark/inTheMiddleOfText.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/removeMark/withAddMark.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/removeMark/withAddMark.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/removeMark/withOtherMarks.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/removeMark/withOtherMarks.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/removeNode/atBeginningOfDocument.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/removeNode/atBeginningOfDocument.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/removeNode/atEndOfDocument.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/removeNode/atEndOfDocument.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/removeNode/nestedBlock.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/removeNode/nestedBlock.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/removeNode/wrapperBlock.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/removeNode/wrapperBlock.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/removeText/atBeginningOfDocument.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/removeText/atBeginningOfDocument.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/removeText/atEndOfDocument.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/removeText/atEndOfDocument.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/removeText/withUnicode.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/removeText/withUnicode.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/setNode/atBeginningOfDocument.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/setNode/atBeginningOfDocument.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/setNode/atEndOfDocument.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/setNode/atEndOfDocument.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/setNode/onDataChange.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/setNode/onDataChange.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/setNode/onDataChangeOnInline.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/setNode/onDataChangeOnInline.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/setNode/onResetBlock.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/setNode/onResetBlock.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/setNode/withAChangeOfType.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/setNode/withAChangeOfType.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/splitNode/atBeginningOfDocument.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/splitNode/atBeginningOfDocument.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/splitNode/atEndOfBlock.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/splitNode/atEndOfBlock.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/splitNode/atEndOfDocument.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/splitNode/atEndOfDocument.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/splitNode/onNonDefaultBlock.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/splitNode/onNonDefaultBlock.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/splitNode/withMultipleSubNodes.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/splitNode/withMultipleSubNodes.tsx -------------------------------------------------------------------------------- /packages/core/test/collaboration/splitNode/withUnicode.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/collaboration/splitNode/withUnicode.tsx -------------------------------------------------------------------------------- /packages/core/test/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/index.test.ts -------------------------------------------------------------------------------- /packages/core/test/slate.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/slate.d.ts -------------------------------------------------------------------------------- /packages/core/test/withTestingElements.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/test/withTestingElements.ts -------------------------------------------------------------------------------- /packages/core/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/tsconfig.json -------------------------------------------------------------------------------- /packages/core/tsup.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/core/tsup.config.ts -------------------------------------------------------------------------------- /packages/react/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/react/CHANGELOG.md -------------------------------------------------------------------------------- /packages/react/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/react/README.md -------------------------------------------------------------------------------- /packages/react/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/react/package.json -------------------------------------------------------------------------------- /packages/react/src/hooks/useDecorateRemoteCursors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/react/src/hooks/useDecorateRemoteCursors.ts -------------------------------------------------------------------------------- /packages/react/src/hooks/useRemoteCursorEditor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/react/src/hooks/useRemoteCursorEditor.ts -------------------------------------------------------------------------------- /packages/react/src/hooks/useRemoteCursorOverlayPositions.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/react/src/hooks/useRemoteCursorOverlayPositions.tsx -------------------------------------------------------------------------------- /packages/react/src/hooks/useRemoteCursorStateStore.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/react/src/hooks/useRemoteCursorStateStore.ts -------------------------------------------------------------------------------- /packages/react/src/hooks/useRemoteCursorStates.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/react/src/hooks/useRemoteCursorStates.ts -------------------------------------------------------------------------------- /packages/react/src/hooks/useUnsetCursorPositionOnBlur.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/react/src/hooks/useUnsetCursorPositionOnBlur.ts -------------------------------------------------------------------------------- /packages/react/src/hooks/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/react/src/hooks/utils.ts -------------------------------------------------------------------------------- /packages/react/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/react/src/index.ts -------------------------------------------------------------------------------- /packages/react/src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/react/src/types.ts -------------------------------------------------------------------------------- /packages/react/src/utils/getCursorRange.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/react/src/utils/getCursorRange.ts -------------------------------------------------------------------------------- /packages/react/src/utils/getOverlayPosition.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/react/src/utils/getOverlayPosition.ts -------------------------------------------------------------------------------- /packages/react/src/utils/react-editor-to-dom-range-safe.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/react/src/utils/react-editor-to-dom-range-safe.ts -------------------------------------------------------------------------------- /packages/react/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/react/tsconfig.json -------------------------------------------------------------------------------- /packages/react/tsup.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/packages/react/tsup.config.ts -------------------------------------------------------------------------------- /support/fixtures.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/support/fixtures.ts -------------------------------------------------------------------------------- /support/jsx.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/support/jsx.d.ts -------------------------------------------------------------------------------- /support/jsx.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/support/jsx.ts -------------------------------------------------------------------------------- /support/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/support/utils.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/tsconfig.json -------------------------------------------------------------------------------- /vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/vitest.config.ts -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitPhinix/slate-yjs/HEAD/yarn.lock --------------------------------------------------------------------------------