@liveblocks/react-tiptap 3.23.0-exp1 → 3.23.0-exp2
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/dist/collaboration-liveblocks/plugin.cjs +14 -4
- package/dist/collaboration-liveblocks/plugin.cjs.map +1 -1
- package/dist/collaboration-liveblocks/plugin.js +14 -4
- package/dist/collaboration-liveblocks/plugin.js.map +1 -1
- package/dist/version.cjs +1 -1
- package/dist/version.js +1 -1
- package/package.json +7 -7
|
@@ -26,23 +26,33 @@ const LiveblocksCollaboration = core.Extension.create({
|
|
|
26
26
|
return {
|
|
27
27
|
undo: () => ({ dispatch, tr }) => {
|
|
28
28
|
tr.setMeta("preventDispatch", true);
|
|
29
|
-
if (this.options.room === void 0
|
|
29
|
+
if (this.options.room === void 0) {
|
|
30
30
|
return false;
|
|
31
31
|
}
|
|
32
32
|
if (dispatch) {
|
|
33
|
+
this.options.room.history.resume();
|
|
34
|
+
if (!this.options.room.history.canUndo()) {
|
|
35
|
+
return false;
|
|
36
|
+
}
|
|
33
37
|
this.options.room.history.undo();
|
|
38
|
+
return true;
|
|
34
39
|
}
|
|
35
|
-
return
|
|
40
|
+
return this.options.room.history.canUndo();
|
|
36
41
|
},
|
|
37
42
|
redo: () => ({ dispatch, tr }) => {
|
|
38
43
|
tr.setMeta("preventDispatch", true);
|
|
39
|
-
if (this.options.room === void 0
|
|
44
|
+
if (this.options.room === void 0) {
|
|
40
45
|
return false;
|
|
41
46
|
}
|
|
42
47
|
if (dispatch) {
|
|
48
|
+
this.options.room.history.resume();
|
|
49
|
+
if (!this.options.room.history.canRedo()) {
|
|
50
|
+
return false;
|
|
51
|
+
}
|
|
43
52
|
this.options.room.history.redo();
|
|
53
|
+
return true;
|
|
44
54
|
}
|
|
45
|
-
return
|
|
55
|
+
return this.options.room.history.canRedo();
|
|
46
56
|
}
|
|
47
57
|
};
|
|
48
58
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.cjs","sources":["../../src/collaboration-liveblocks/plugin.ts"],"sourcesContent":["import {\n createLiveblocksCollaborationPlugin,\n LIVEBLOCKS_COLLABORATION_PLUGIN_KEY,\n type LiveblocksProsemirrorRoom,\n type ProseMirrorJsonNode,\n} from \"@liveblocks/prosemirror\";\nimport type { Content } from \"@tiptap/core\";\nimport { Extension } from \"@tiptap/core\";\n\nimport { createDefaultDocument } from \"./schema\";\n\nexport { LIVEBLOCKS_COLLABORATION_PLUGIN_KEY };\n\ntype LiveblocksCollaborationOptions = {\n room?: LiveblocksProsemirrorRoom;\n field: string;\n initialContent?: Content;\n};\n\ntype LiveblocksCollaborationStorage = {\n isDisabled: boolean;\n};\n\nfunction isProseMirrorJsonNode(value: unknown): value is ProseMirrorJsonNode {\n return (\n typeof value === \"object\" &&\n value !== null &&\n typeof (value as { type?: unknown }).type === \"string\"\n );\n}\n\ndeclare module \"@tiptap/core\" {\n interface Commands<ReturnType> {\n collaboration: {\n undo: () => ReturnType;\n redo: () => ReturnType;\n };\n }\n}\n\nexport const LiveblocksCollaboration = Extension.create<\n LiveblocksCollaborationOptions,\n LiveblocksCollaborationStorage\n>({\n name: \"collaboration\",\n priority: 1000,\n\n addOptions() {\n return {\n room: undefined,\n field: \"default\",\n initialContent: undefined,\n };\n },\n\n addStorage() {\n return {\n isDisabled: false,\n };\n },\n\n addCommands() {\n return {\n undo:\n () =>\n ({ dispatch, tr }) => {\n tr.setMeta(\"preventDispatch\", true);\n\n if (
|
|
1
|
+
{"version":3,"file":"plugin.cjs","sources":["../../src/collaboration-liveblocks/plugin.ts"],"sourcesContent":["import {\n createLiveblocksCollaborationPlugin,\n LIVEBLOCKS_COLLABORATION_PLUGIN_KEY,\n type LiveblocksProsemirrorRoom,\n type ProseMirrorJsonNode,\n} from \"@liveblocks/prosemirror\";\nimport type { Content } from \"@tiptap/core\";\nimport { Extension } from \"@tiptap/core\";\n\nimport { createDefaultDocument } from \"./schema\";\n\nexport { LIVEBLOCKS_COLLABORATION_PLUGIN_KEY };\n\ntype LiveblocksCollaborationOptions = {\n room?: LiveblocksProsemirrorRoom;\n field: string;\n initialContent?: Content;\n};\n\ntype LiveblocksCollaborationStorage = {\n isDisabled: boolean;\n};\n\nfunction isProseMirrorJsonNode(value: unknown): value is ProseMirrorJsonNode {\n return (\n typeof value === \"object\" &&\n value !== null &&\n typeof (value as { type?: unknown }).type === \"string\"\n );\n}\n\ndeclare module \"@tiptap/core\" {\n interface Commands<ReturnType> {\n collaboration: {\n undo: () => ReturnType;\n redo: () => ReturnType;\n };\n }\n}\n\nexport const LiveblocksCollaboration = Extension.create<\n LiveblocksCollaborationOptions,\n LiveblocksCollaborationStorage\n>({\n name: \"collaboration\",\n priority: 1000,\n\n addOptions() {\n return {\n room: undefined,\n field: \"default\",\n initialContent: undefined,\n };\n },\n\n addStorage() {\n return {\n isDisabled: false,\n };\n },\n\n addCommands() {\n return {\n undo:\n () =>\n ({ dispatch, tr }) => {\n tr.setMeta(\"preventDispatch\", true);\n\n if (this.options.room === undefined) {\n return false;\n }\n\n if (dispatch) {\n this.options.room.history.resume();\n if (!this.options.room.history.canUndo()) {\n return false;\n }\n this.options.room.history.undo();\n return true;\n }\n\n return this.options.room.history.canUndo();\n },\n redo:\n () =>\n ({ dispatch, tr }) => {\n tr.setMeta(\"preventDispatch\", true);\n\n if (this.options.room === undefined) {\n return false;\n }\n\n if (dispatch) {\n this.options.room.history.resume();\n if (!this.options.room.history.canRedo()) {\n return false;\n }\n this.options.room.history.redo();\n return true;\n }\n\n return this.options.room.history.canRedo();\n },\n };\n },\n\n addKeyboardShortcuts() {\n return {\n \"Mod-z\": () => this.editor.commands.undo(),\n \"Mod-y\": () => this.editor.commands.redo(),\n \"Shift-Mod-z\": () => this.editor.commands.redo(),\n };\n },\n\n addProseMirrorPlugins() {\n return [\n createLiveblocksCollaborationPlugin({\n room: this.options.room,\n field: this.options.field,\n initialContent: isProseMirrorJsonNode(this.options.initialContent)\n ? this.options.initialContent\n : undefined,\n fallbackDocument: createDefaultDocument,\n }),\n ];\n },\n});\n"],"names":["Extension","createLiveblocksCollaborationPlugin","createDefaultDocument"],"mappings":";;;;;;AAuBA,SAAS,sBAAsB,KAA8C,EAAA;AAC3E,EAAA,OACE,OAAO,KAAU,KAAA,QAAA,IACjB,UAAU,IACV,IAAA,OAAQ,MAA6B,IAAS,KAAA,QAAA,CAAA;AAElD,CAAA;AAWa,MAAA,uBAAA,GAA0BA,eAAU,MAG/C,CAAA;AAAA,EACA,IAAM,EAAA,eAAA;AAAA,EACN,QAAU,EAAA,GAAA;AAAA,EAEV,UAAa,GAAA;AACX,IAAO,OAAA;AAAA,MACL,IAAM,EAAA,KAAA,CAAA;AAAA,MACN,KAAO,EAAA,SAAA;AAAA,MACP,cAAgB,EAAA,KAAA,CAAA;AAAA,KAClB,CAAA;AAAA,GACF;AAAA,EAEA,UAAa,GAAA;AACX,IAAO,OAAA;AAAA,MACL,UAAY,EAAA,KAAA;AAAA,KACd,CAAA;AAAA,GACF;AAAA,EAEA,WAAc,GAAA;AACZ,IAAO,OAAA;AAAA,MACL,MACE,MACA,CAAC,EAAE,QAAA,EAAU,IAAS,KAAA;AACpB,QAAG,EAAA,CAAA,OAAA,CAAQ,mBAAmB,IAAI,CAAA,CAAA;AAElC,QAAI,IAAA,IAAA,CAAK,OAAQ,CAAA,IAAA,KAAS,KAAW,CAAA,EAAA;AACnC,UAAO,OAAA,KAAA,CAAA;AAAA,SACT;AAEA,QAAA,IAAI,QAAU,EAAA;AACZ,UAAK,IAAA,CAAA,OAAA,CAAQ,IAAK,CAAA,OAAA,CAAQ,MAAO,EAAA,CAAA;AACjC,UAAA,IAAI,CAAC,IAAK,CAAA,OAAA,CAAQ,IAAK,CAAA,OAAA,CAAQ,SAAW,EAAA;AACxC,YAAO,OAAA,KAAA,CAAA;AAAA,WACT;AACA,UAAK,IAAA,CAAA,OAAA,CAAQ,IAAK,CAAA,OAAA,CAAQ,IAAK,EAAA,CAAA;AAC/B,UAAO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,EAAM,KAAK,OAAQ,CAAA,IAAA;AAAA,QACnB,KAAA,EAAO,KAAK,OAAQ,CAAA,KAAA;AAAA,QACpB,cAAA,EAAgB,sBAAsB,IAAK,CAAA,OAAA,CAAQ,cAAc,CAC7D,GAAA,IAAA,CAAK,QAAQ,cACb,GAAA,KAAA,CAAA;AAAA,QACJ,gBAAkB,EAAAC,4BAAA;AAAA,OACnB,CAAA;AAAA,KACH,CAAA;AAAA,GACF;AACF,CAAC;;;;;;;;"}
|
|
@@ -25,23 +25,33 @@ const LiveblocksCollaboration = Extension.create({
|
|
|
25
25
|
return {
|
|
26
26
|
undo: () => ({ dispatch, tr }) => {
|
|
27
27
|
tr.setMeta("preventDispatch", true);
|
|
28
|
-
if (this.options.room === void 0
|
|
28
|
+
if (this.options.room === void 0) {
|
|
29
29
|
return false;
|
|
30
30
|
}
|
|
31
31
|
if (dispatch) {
|
|
32
|
+
this.options.room.history.resume();
|
|
33
|
+
if (!this.options.room.history.canUndo()) {
|
|
34
|
+
return false;
|
|
35
|
+
}
|
|
32
36
|
this.options.room.history.undo();
|
|
37
|
+
return true;
|
|
33
38
|
}
|
|
34
|
-
return
|
|
39
|
+
return this.options.room.history.canUndo();
|
|
35
40
|
},
|
|
36
41
|
redo: () => ({ dispatch, tr }) => {
|
|
37
42
|
tr.setMeta("preventDispatch", true);
|
|
38
|
-
if (this.options.room === void 0
|
|
43
|
+
if (this.options.room === void 0) {
|
|
39
44
|
return false;
|
|
40
45
|
}
|
|
41
46
|
if (dispatch) {
|
|
47
|
+
this.options.room.history.resume();
|
|
48
|
+
if (!this.options.room.history.canRedo()) {
|
|
49
|
+
return false;
|
|
50
|
+
}
|
|
42
51
|
this.options.room.history.redo();
|
|
52
|
+
return true;
|
|
43
53
|
}
|
|
44
|
-
return
|
|
54
|
+
return this.options.room.history.canRedo();
|
|
45
55
|
}
|
|
46
56
|
};
|
|
47
57
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.js","sources":["../../src/collaboration-liveblocks/plugin.ts"],"sourcesContent":["import {\n createLiveblocksCollaborationPlugin,\n LIVEBLOCKS_COLLABORATION_PLUGIN_KEY,\n type LiveblocksProsemirrorRoom,\n type ProseMirrorJsonNode,\n} from \"@liveblocks/prosemirror\";\nimport type { Content } from \"@tiptap/core\";\nimport { Extension } from \"@tiptap/core\";\n\nimport { createDefaultDocument } from \"./schema\";\n\nexport { LIVEBLOCKS_COLLABORATION_PLUGIN_KEY };\n\ntype LiveblocksCollaborationOptions = {\n room?: LiveblocksProsemirrorRoom;\n field: string;\n initialContent?: Content;\n};\n\ntype LiveblocksCollaborationStorage = {\n isDisabled: boolean;\n};\n\nfunction isProseMirrorJsonNode(value: unknown): value is ProseMirrorJsonNode {\n return (\n typeof value === \"object\" &&\n value !== null &&\n typeof (value as { type?: unknown }).type === \"string\"\n );\n}\n\ndeclare module \"@tiptap/core\" {\n interface Commands<ReturnType> {\n collaboration: {\n undo: () => ReturnType;\n redo: () => ReturnType;\n };\n }\n}\n\nexport const LiveblocksCollaboration = Extension.create<\n LiveblocksCollaborationOptions,\n LiveblocksCollaborationStorage\n>({\n name: \"collaboration\",\n priority: 1000,\n\n addOptions() {\n return {\n room: undefined,\n field: \"default\",\n initialContent: undefined,\n };\n },\n\n addStorage() {\n return {\n isDisabled: false,\n };\n },\n\n addCommands() {\n return {\n undo:\n () =>\n ({ dispatch, tr }) => {\n tr.setMeta(\"preventDispatch\", true);\n\n if (
|
|
1
|
+
{"version":3,"file":"plugin.js","sources":["../../src/collaboration-liveblocks/plugin.ts"],"sourcesContent":["import {\n createLiveblocksCollaborationPlugin,\n LIVEBLOCKS_COLLABORATION_PLUGIN_KEY,\n type LiveblocksProsemirrorRoom,\n type ProseMirrorJsonNode,\n} from \"@liveblocks/prosemirror\";\nimport type { Content } from \"@tiptap/core\";\nimport { Extension } from \"@tiptap/core\";\n\nimport { createDefaultDocument } from \"./schema\";\n\nexport { LIVEBLOCKS_COLLABORATION_PLUGIN_KEY };\n\ntype LiveblocksCollaborationOptions = {\n room?: LiveblocksProsemirrorRoom;\n field: string;\n initialContent?: Content;\n};\n\ntype LiveblocksCollaborationStorage = {\n isDisabled: boolean;\n};\n\nfunction isProseMirrorJsonNode(value: unknown): value is ProseMirrorJsonNode {\n return (\n typeof value === \"object\" &&\n value !== null &&\n typeof (value as { type?: unknown }).type === \"string\"\n );\n}\n\ndeclare module \"@tiptap/core\" {\n interface Commands<ReturnType> {\n collaboration: {\n undo: () => ReturnType;\n redo: () => ReturnType;\n };\n }\n}\n\nexport const LiveblocksCollaboration = Extension.create<\n LiveblocksCollaborationOptions,\n LiveblocksCollaborationStorage\n>({\n name: \"collaboration\",\n priority: 1000,\n\n addOptions() {\n return {\n room: undefined,\n field: \"default\",\n initialContent: undefined,\n };\n },\n\n addStorage() {\n return {\n isDisabled: false,\n };\n },\n\n addCommands() {\n return {\n undo:\n () =>\n ({ dispatch, tr }) => {\n tr.setMeta(\"preventDispatch\", true);\n\n if (this.options.room === undefined) {\n return false;\n }\n\n if (dispatch) {\n this.options.room.history.resume();\n if (!this.options.room.history.canUndo()) {\n return false;\n }\n this.options.room.history.undo();\n return true;\n }\n\n return this.options.room.history.canUndo();\n },\n redo:\n () =>\n ({ dispatch, tr }) => {\n tr.setMeta(\"preventDispatch\", true);\n\n if (this.options.room === undefined) {\n return false;\n }\n\n if (dispatch) {\n this.options.room.history.resume();\n if (!this.options.room.history.canRedo()) {\n return false;\n }\n this.options.room.history.redo();\n return true;\n }\n\n return this.options.room.history.canRedo();\n },\n };\n },\n\n addKeyboardShortcuts() {\n return {\n \"Mod-z\": () => this.editor.commands.undo(),\n \"Mod-y\": () => this.editor.commands.redo(),\n \"Shift-Mod-z\": () => this.editor.commands.redo(),\n };\n },\n\n addProseMirrorPlugins() {\n return [\n createLiveblocksCollaborationPlugin({\n room: this.options.room,\n field: this.options.field,\n initialContent: isProseMirrorJsonNode(this.options.initialContent)\n ? this.options.initialContent\n : undefined,\n fallbackDocument: createDefaultD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OAAQ,CAAA,KAAA;AAAA,QACpB,cAAA,EAAgB,sBAAsB,IAAK,CAAA,OAAA,CAAQ,cAAc,CAC7D,GAAA,IAAA,CAAK,QAAQ,cACb,GAAA,KAAA,CAAA;AAAA,QACJ,gBAAkB,EAAA,qBAAA;AAAA,OACnB,CAAA;AAAA,KACH,CAAA;AAAA,GACF;AACF,CAAC;;;;"}
|
package/dist/version.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const PKG_NAME = "@liveblocks/react-tiptap";
|
|
4
|
-
const PKG_VERSION = typeof "3.23.0-
|
|
4
|
+
const PKG_VERSION = typeof "3.23.0-exp2" === "string" && "3.23.0-exp2";
|
|
5
5
|
const PKG_FORMAT = typeof "cjs" === "string" && "cjs";
|
|
6
6
|
|
|
7
7
|
exports.PKG_FORMAT = PKG_FORMAT;
|
package/dist/version.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const PKG_NAME = "@liveblocks/react-tiptap";
|
|
2
|
-
const PKG_VERSION = typeof "3.23.0-
|
|
2
|
+
const PKG_VERSION = typeof "3.23.0-exp2" === "string" && "3.23.0-exp2";
|
|
3
3
|
const PKG_FORMAT = typeof "esm" === "string" && "esm";
|
|
4
4
|
|
|
5
5
|
export { PKG_FORMAT, PKG_NAME, PKG_VERSION };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@liveblocks/react-tiptap",
|
|
3
|
-
"version": "3.23.0-
|
|
3
|
+
"version": "3.23.0-exp2",
|
|
4
4
|
"description": "An integration of TipTap + React to enable collaboration, comments, live cursors, and more with Liveblocks.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Liveblocks Inc.",
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
"cmdk": "^1.0.4",
|
|
38
38
|
"radix-ui": "^1.4.0",
|
|
39
39
|
"y-prosemirror": "^1.3.7",
|
|
40
|
-
"@liveblocks/client": "3.23.0-
|
|
41
|
-
"@liveblocks/core": "3.23.0-
|
|
42
|
-
"@liveblocks/prosemirror": "3.23.0-
|
|
43
|
-
"@liveblocks/react
|
|
44
|
-
"@liveblocks/react": "3.23.0-
|
|
45
|
-
"@liveblocks/yjs": "3.23.0-
|
|
40
|
+
"@liveblocks/client": "3.23.0-exp2",
|
|
41
|
+
"@liveblocks/core": "3.23.0-exp2",
|
|
42
|
+
"@liveblocks/prosemirror": "3.23.0-exp2",
|
|
43
|
+
"@liveblocks/react": "3.23.0-exp2",
|
|
44
|
+
"@liveblocks/react-ui": "3.23.0-exp2",
|
|
45
|
+
"@liveblocks/yjs": "3.23.0-exp2"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"@tiptap/core": "^3",
|