@axure/y-prosemirror 1.3.7-fork.2

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.
@@ -0,0 +1,23 @@
1
+ import { PluginKey } from 'prosemirror-state' // eslint-disable-line
2
+
3
+ /**
4
+ * The unique prosemirror plugin key for syncPlugin
5
+ *
6
+ * @public
7
+ */
8
+ export const ySyncPluginKey = new PluginKey('y-sync')
9
+
10
+ /**
11
+ * The unique prosemirror plugin key for undoPlugin
12
+ *
13
+ * @public
14
+ * @type {PluginKey<import('./undo-plugin').UndoPluginState>}
15
+ */
16
+ export const yUndoPluginKey = new PluginKey('y-undo')
17
+
18
+ /**
19
+ * The unique prosemirror plugin key for cursorPlugin
20
+ *
21
+ * @public
22
+ */
23
+ export const yCursorPluginKey = new PluginKey('yjs-cursor')