@live-change/wysiwyg-frontend 0.2.28 → 0.2.29
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.
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
|
|
49
49
|
import { live, path, useApi, inboxReader } from '@live-change/vue3-ssr'
|
|
50
50
|
import ProseMirrorCollab from "../tiptap/ProseMirrorCollab.js"
|
|
51
|
-
import { sendableSteps, receiveTransaction, getVersion } from '
|
|
52
|
-
import { Step } from '
|
|
51
|
+
import { sendableSteps, receiveTransaction, getVersion } from '@tiptap/pm/collab'
|
|
52
|
+
import { Step } from '@tiptap/pm/transform'
|
|
53
53
|
import RemoteAuthority from "../tiptap/RemoteAuthority";
|
|
54
54
|
|
|
55
55
|
const props = defineProps({
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { Selection, TextSelection } from '
|
|
2
|
-
import {
|
|
3
|
-
import { EditorState as CMState, Transaction as CMTransaction } from '@codemirror/state';
|
|
1
|
+
import { Selection, TextSelection } from '@tiptap/pm/state'
|
|
2
|
+
import { EditorState as CMState } from '@codemirror/state';
|
|
4
3
|
import { EditorView as CMView, keymap as cmKeymap, drawSelection } from '@codemirror/view';
|
|
5
4
|
import {javascript} from "@codemirror/lang-javascript"
|
|
6
5
|
import {defaultKeymap} from "@codemirror/commands"
|
|
7
6
|
import {syntaxHighlighting, defaultHighlightStyle} from "@codemirror/language"
|
|
8
7
|
|
|
9
|
-
import {exitCode} from "
|
|
10
|
-
import {undo, redo} from "
|
|
8
|
+
import {exitCode} from "@tiptap/pm/commands"
|
|
9
|
+
import {undo, redo} from "@tiptap/pm/history"
|
|
11
10
|
|
|
12
11
|
const computeChange = (oldVal, newVal) => {
|
|
13
12
|
if (oldVal === newVal) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/wysiwyg-frontend",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.29",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"memDev": "lcli memDev --enableSessions --initScript ./init.js --dbAccess",
|
|
6
6
|
"localDevInit": "rm tmp.db; lcli localDev --enableSessions --initScript ./init.js",
|
|
@@ -37,29 +37,30 @@
|
|
|
37
37
|
"@live-change/session-service": "0.3.12",
|
|
38
38
|
"@live-change/vue3-components": "0.2.16",
|
|
39
39
|
"@live-change/vue3-ssr": "0.2.16",
|
|
40
|
-
"@tiptap/core": "^2.0.0-beta.
|
|
41
|
-
"@tiptap/extension-blockquote": "^2.0.0-beta.
|
|
42
|
-
"@tiptap/extension-bold": "^2.0.0-beta.
|
|
43
|
-
"@tiptap/extension-bullet-list": "^2.0.0-beta.
|
|
44
|
-
"@tiptap/extension-code": "^2.0.0-beta.
|
|
45
|
-
"@tiptap/extension-code-block": "^2.0.0-beta.
|
|
46
|
-
"@tiptap/extension-document": "^2.0.0-beta.
|
|
47
|
-
"@tiptap/extension-dropcursor": "^2.0.0-beta.
|
|
48
|
-
"@tiptap/extension-gapcursor": "^2.0.0-beta.
|
|
49
|
-
"@tiptap/extension-hard-break": "^2.0.0-beta.
|
|
50
|
-
"@tiptap/extension-heading": "^2.0.0-beta.
|
|
51
|
-
"@tiptap/extension-highlight": "^2.0.0-beta.
|
|
52
|
-
"@tiptap/extension-history": "^2.0.0-beta.
|
|
53
|
-
"@tiptap/extension-horizontal-rule": "^2.0.0-beta.
|
|
54
|
-
"@tiptap/extension-italic": "^2.0.0-beta.
|
|
55
|
-
"@tiptap/extension-link": "2.0.0-beta.
|
|
56
|
-
"@tiptap/extension-list-item": "^2.0.0-beta.
|
|
57
|
-
"@tiptap/extension-ordered-list": "^2.0.0-beta.
|
|
58
|
-
"@tiptap/extension-paragraph": "^2.0.0-beta.
|
|
59
|
-
"@tiptap/extension-strike": "^2.0.0-beta.
|
|
60
|
-
"@tiptap/extension-text": "^2.0.0-beta.
|
|
61
|
-
"@tiptap/extension-underline": "2.0.0-beta.
|
|
62
|
-
"@tiptap/
|
|
40
|
+
"@tiptap/core": "^2.0.0-beta.217",
|
|
41
|
+
"@tiptap/extension-blockquote": "^2.0.0-beta.217",
|
|
42
|
+
"@tiptap/extension-bold": "^2.0.0-beta.217",
|
|
43
|
+
"@tiptap/extension-bullet-list": "^2.0.0-beta.217",
|
|
44
|
+
"@tiptap/extension-code": "^2.0.0-beta.217",
|
|
45
|
+
"@tiptap/extension-code-block": "^2.0.0-beta.217",
|
|
46
|
+
"@tiptap/extension-document": "^2.0.0-beta.217",
|
|
47
|
+
"@tiptap/extension-dropcursor": "^2.0.0-beta.217",
|
|
48
|
+
"@tiptap/extension-gapcursor": "^2.0.0-beta.217",
|
|
49
|
+
"@tiptap/extension-hard-break": "^2.0.0-beta.217",
|
|
50
|
+
"@tiptap/extension-heading": "^2.0.0-beta.217",
|
|
51
|
+
"@tiptap/extension-highlight": "^2.0.0-beta.217",
|
|
52
|
+
"@tiptap/extension-history": "^2.0.0-beta.217",
|
|
53
|
+
"@tiptap/extension-horizontal-rule": "^2.0.0-beta.217",
|
|
54
|
+
"@tiptap/extension-italic": "^2.0.0-beta.217",
|
|
55
|
+
"@tiptap/extension-link": "2.0.0-beta.217",
|
|
56
|
+
"@tiptap/extension-list-item": "^2.0.0-beta.217",
|
|
57
|
+
"@tiptap/extension-ordered-list": "^2.0.0-beta.217",
|
|
58
|
+
"@tiptap/extension-paragraph": "^2.0.0-beta.217",
|
|
59
|
+
"@tiptap/extension-strike": "^2.0.0-beta.217",
|
|
60
|
+
"@tiptap/extension-text": "^2.0.0-beta.217",
|
|
61
|
+
"@tiptap/extension-underline": "2.0.0-beta.217",
|
|
62
|
+
"@tiptap/pm": "2.0.0-beta.217",
|
|
63
|
+
"@tiptap/vue-3": "2.0.0-beta.217",
|
|
63
64
|
"@vueuse/core": "^9.1.0",
|
|
64
65
|
"codeceptjs-assert": "^0.0.5",
|
|
65
66
|
"compression": "^1.7.4",
|
|
@@ -69,15 +70,6 @@
|
|
|
69
70
|
"primeicons": "^6.0.1",
|
|
70
71
|
"primevue": "^3.18.1",
|
|
71
72
|
"prismjs": "^1.28.0",
|
|
72
|
-
"prosemirror-collab": "^1.3.0",
|
|
73
|
-
"prosemirror-commands": "^1.3.1",
|
|
74
|
-
"prosemirror-gapcursor": "^1.3.1",
|
|
75
|
-
"prosemirror-history": "^1.3.0",
|
|
76
|
-
"prosemirror-keymap": "^1.2.0",
|
|
77
|
-
"prosemirror-model": "^1.18.1",
|
|
78
|
-
"prosemirror-schema-list": "^1.2.2",
|
|
79
|
-
"prosemirror-state": "^1.4.1",
|
|
80
|
-
"prosemirror-transform": "^1.7.0",
|
|
81
73
|
"prosemirror-view": "^1.28.2",
|
|
82
74
|
"rollup-plugin-node-builtins": "^2.1.2",
|
|
83
75
|
"rollup-plugin-visualizer": "5.6.0",
|
|
@@ -101,5 +93,5 @@
|
|
|
101
93
|
"author": "",
|
|
102
94
|
"license": "ISC",
|
|
103
95
|
"description": "",
|
|
104
|
-
"gitHead": "
|
|
96
|
+
"gitHead": "6f0afd50347ad40c3b7ac692140c48ff88b13e98"
|
|
105
97
|
}
|