Forked from @tiptap/extension-collaboration.
- Removed
addKeyboardShortcutsfrom theCollaborationclass (we handle keyboard shortcuts in a different way) - Added
getUndoDepthandgetRedoDepthhelpers
Add the package to your project:
"tiptap-extension-collaboration": "github:secondlayerco/tiptap-extension-collaboration#1.1.0-napkin",- Clone @tiptap/extension-collaboration
- Install the dependencies (
npm ifrom the root of the package andpackages/extension-collaboration) - Open
dist/index.jsand compare it with the file in this package - If there are changes, copy them to the file in this package
- Upgrade the dependencies in
package.jsonto the latest versions - Increment the version in
package.jsonandCHANGELOG.md