@live-change/wysiwyg-frontend 0.2.28 → 0.2.30

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 'prosemirror-collab'
52
- import { Step } from 'prosemirror-transform'
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 'prosemirror-state'
2
- import { Node as PMNode } from 'prosemirror-model';
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 "prosemirror-commands"
10
- import {undo, redo} from "prosemirror-history"
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) {
@@ -1,5 +1,5 @@
1
1
  import { Extension } from '@tiptap/core'
2
- import { collab } from 'prosemirror-collab'
2
+ import { collab } from '@tiptap/pm/collab'
3
3
 
4
4
  const ProseMirrorCollab = Extension.create({
5
5
  addOptions() {
@@ -1,7 +1,7 @@
1
1
  import { useApi, inboxReader } from '@live-change/vue3-ssr'
2
2
  import { ref } from 'vue'
3
3
 
4
- import { Step } from "prosemirror-transform"
4
+ import { Step } from "@tiptap/pm/transform"
5
5
 
6
6
  import Debug from "debug"
7
7
  const debug = Debug("wysiwyg:collab")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/wysiwyg-frontend",
3
- "version": "0.2.28",
3
+ "version": "0.2.30",
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",
@@ -25,41 +25,42 @@
25
25
  "@codemirror/language": "^6.1.2",
26
26
  "@codemirror/view": "^6.7.1",
27
27
  "@fortawesome/fontawesome-free": "^6.2.0",
28
- "@live-change/cli": "0.7.11",
28
+ "@live-change/cli": "0.7.12",
29
29
  "@live-change/dao": "0.5.9",
30
30
  "@live-change/dao-vue3": "0.5.9",
31
31
  "@live-change/dao-websocket": "0.5.9",
32
- "@live-change/framework": "0.7.11",
33
- "@live-change/password-authentication-service": "0.3.12",
34
- "@live-change/prosemirror-service": "0.3.12",
35
- "@live-change/secret-code-service": "0.3.12",
36
- "@live-change/secret-link-service": "0.3.12",
37
- "@live-change/session-service": "0.3.12",
32
+ "@live-change/framework": "0.7.12",
33
+ "@live-change/password-authentication-service": "0.3.14",
34
+ "@live-change/prosemirror-service": "0.3.14",
35
+ "@live-change/secret-code-service": "0.3.14",
36
+ "@live-change/secret-link-service": "0.3.14",
37
+ "@live-change/session-service": "0.3.14",
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.205",
41
- "@tiptap/extension-blockquote": "^2.0.0-beta.205",
42
- "@tiptap/extension-bold": "^2.0.0-beta.205",
43
- "@tiptap/extension-bullet-list": "^2.0.0-beta.205",
44
- "@tiptap/extension-code": "^2.0.0-beta.205",
45
- "@tiptap/extension-code-block": "^2.0.0-beta.205",
46
- "@tiptap/extension-document": "^2.0.0-beta.205",
47
- "@tiptap/extension-dropcursor": "^2.0.0-beta.205",
48
- "@tiptap/extension-gapcursor": "^2.0.0-beta.205",
49
- "@tiptap/extension-hard-break": "^2.0.0-beta.205",
50
- "@tiptap/extension-heading": "^2.0.0-beta.205",
51
- "@tiptap/extension-highlight": "^2.0.0-beta.205",
52
- "@tiptap/extension-history": "^2.0.0-beta.205",
53
- "@tiptap/extension-horizontal-rule": "^2.0.0-beta.205",
54
- "@tiptap/extension-italic": "^2.0.0-beta.205",
55
- "@tiptap/extension-link": "2.0.0-beta.209",
56
- "@tiptap/extension-list-item": "^2.0.0-beta.205",
57
- "@tiptap/extension-ordered-list": "^2.0.0-beta.205",
58
- "@tiptap/extension-paragraph": "^2.0.0-beta.205",
59
- "@tiptap/extension-strike": "^2.0.0-beta.205",
60
- "@tiptap/extension-text": "^2.0.0-beta.205",
61
- "@tiptap/extension-underline": "2.0.0-beta.205",
62
- "@tiptap/vue-3": "2.0.0-beta.205",
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",
@@ -89,7 +81,7 @@
89
81
  "vue3-scroll-border": "0.1.4"
90
82
  },
91
83
  "devDependencies": {
92
- "@live-change/codeceptjs-helper": "0.7.11",
84
+ "@live-change/codeceptjs-helper": "0.7.12",
93
85
  "@wdio/selenium-standalone-service": "^7.20.8",
94
86
  "codeceptjs": "^3.3.4",
95
87
  "generate-password": "1.7.0",
@@ -101,5 +93,5 @@
101
93
  "author": "",
102
94
  "license": "ISC",
103
95
  "description": "",
104
- "gitHead": "c38ec9339a0a830bdf18ef717177ef1c7163be14"
96
+ "gitHead": "ec841df819a063b90e26052b5583916c58ed7fad"
105
97
  }