Forked from @tiptap/extension-collaboration.
- Removed
addKeyboardShortcuts
from theCollaboration
class (we handle keyboard shortcuts in a different way) - Added
getUndoDepth
andgetRedoDepth
helpers
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 i
from the root of the package andpackages/extension-collaboration
) - Open
dist/index.js
and 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.json
to the latest versions - Increment the version in
package.json
andCHANGELOG.md