Adding a 2-way binding from the editor to a Yjs document is as easy as: import{withYjs,SyncElement}from'slate-yjs';import*asYfrom'yjs';constdoc=newY.Doc();constsharedType=doc.getArray<SyncElement>('content');constyjsEditor=withYjs(editor,sharedType); ...
Slate Yjs- Slate的Yjs绑定。 受启发 安装 通过npm: npm install slate-yjs 通过纱: yarn add slate-yjs 为什么要在slate-collaborative使用slate-yjs ? 表现。 slate-collaborative适用于小型文档,但在较重的文档上会导致20秒以上的加载时间,而slate-yjs可以在不到一秒钟的时间内加载。 要进行更深入的比较,...
https://docs.slate-yjs.dev Packages Slate-yjs's codebase is monorepo managed with yarn workspaces. It consists of a handful of packages—although you won't always use all of them: PackageVersionSizeDescriptionChangelog @slate-yjs/core Core slate-yjs binding. CHANGELOG.md @slate-yjs/react Reac...
npm i @timothyaveni/slate-yjs-react Repository github.com/BitPhinix/slate-yjs Homepage github.com/BitPhinix/slate-yjs#readme Weekly Downloads 1 Version 1.1.0 License MIT Unpacked Size 4.07 MB Total Files 47 Issues 20 Pull Requests 7 Last publish a year ago Collaborators Try on RunKit Repo...
github-actionsreleased this27 May 18:50 ·7 commitsto main since this release @slate-yjs/react@1.0.0 09b363e Patch Changes Updated dependencies [a6a27c8,a6a27c8,72bbbf3]: @slate-yjs/core@1.0.0 🚀1gu-stav reacted with rocket emoji ...
Yjs binding for Slate. Contribute to BitPhinix/slate-yjs development by creating an account on GitHub.
https://slate-yjs.dev https://docs.slate-yjs.dev Packages Slate-yjs's codebase is monorepo managed withyarn workspaces. It consists of a handful of packages—although you won't always use all of them: Products These products use slate-yjs, and can give you an idea of what's possible:...