@seorii/tiptap 0.2.8 → 0.2.9
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/tiptap/TipTap.svelte +0 -1
- package/package.json +43 -43
|
@@ -46,7 +46,6 @@ if (browser) {
|
|
|
46
46
|
});
|
|
47
47
|
$tiptap.on('update', ({ editor: tiptap }) => {
|
|
48
48
|
let content = tiptap.getHTML(), json = tiptap.getJSON().content;
|
|
49
|
-
console.log(json);
|
|
50
49
|
if (Array.isArray(json) && json.length === 1 && json[0].type === 'paragraph' && !json[0].hasOwnProperty("content"))
|
|
51
50
|
content = null;
|
|
52
51
|
body = last = content;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seorii/tiptap",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.9",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"dev": "vite dev",
|
|
6
6
|
"build": "svelte-kit sync && svelte-package",
|
|
@@ -13,63 +13,63 @@
|
|
|
13
13
|
"page": "npm run build-page && node gh-pages.js"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"@sveltejs/adapter-auto": "^2.1.
|
|
16
|
+
"@sveltejs/adapter-auto": "^2.1.1",
|
|
17
17
|
"@sveltejs/adapter-static": "^2.0.3",
|
|
18
|
-
"@sveltejs/kit": "^1.
|
|
19
|
-
"@sveltejs/package": "^2.2.
|
|
20
|
-
"@types/sanitize-html": "^2.9.
|
|
21
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
22
|
-
"@typescript-eslint/parser": "^6.
|
|
23
|
-
"eslint": "^8.
|
|
18
|
+
"@sveltejs/kit": "^1.27.6",
|
|
19
|
+
"@sveltejs/package": "^2.2.3",
|
|
20
|
+
"@types/sanitize-html": "^2.9.5",
|
|
21
|
+
"@typescript-eslint/eslint-plugin": "^6.12.0",
|
|
22
|
+
"@typescript-eslint/parser": "^6.12.0",
|
|
23
|
+
"eslint": "^8.54.0",
|
|
24
24
|
"eslint-config-prettier": "^9.0.0",
|
|
25
25
|
"eslint-plugin-svelte3": "^4.0.0",
|
|
26
|
-
"gh-pages": "^6.
|
|
27
|
-
"prettier": "^3.0
|
|
28
|
-
"prettier-plugin-svelte": "^3.
|
|
29
|
-
"sass": "^1.
|
|
30
|
-
"svelte": "^4.2.
|
|
31
|
-
"svelte-check": "^3.
|
|
32
|
-
"svelte-preprocess": "^5.
|
|
33
|
-
"tslib": "^2.6.
|
|
34
|
-
"typescript": "^5.
|
|
35
|
-
"vite": "^4.
|
|
26
|
+
"gh-pages": "^6.1.0",
|
|
27
|
+
"prettier": "^3.1.0",
|
|
28
|
+
"prettier-plugin-svelte": "^3.1.2",
|
|
29
|
+
"sass": "^1.69.5",
|
|
30
|
+
"svelte": "^4.2.7",
|
|
31
|
+
"svelte-check": "^3.6.2",
|
|
32
|
+
"svelte-preprocess": "^5.1.1",
|
|
33
|
+
"tslib": "^2.6.2",
|
|
34
|
+
"typescript": "^5.3.2",
|
|
35
|
+
"vite": "^4.5.0"
|
|
36
36
|
},
|
|
37
37
|
"type": "module",
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@justinribeiro/lite-youtube": "^1.5.0",
|
|
40
40
|
"@seorii/prosemirror-math": "^0.4.2",
|
|
41
|
-
"@tiptap/core": "^2.
|
|
42
|
-
"@tiptap/extension-code": "^2.
|
|
43
|
-
"@tiptap/extension-code-block-lowlight": "^2.
|
|
44
|
-
"@tiptap/extension-color": "^2.
|
|
45
|
-
"@tiptap/extension-dropcursor": "^2.
|
|
46
|
-
"@tiptap/extension-highlight": "^2.
|
|
47
|
-
"@tiptap/extension-image": "^2.
|
|
48
|
-
"@tiptap/extension-link": "^2.
|
|
49
|
-
"@tiptap/extension-ordered-list": "^2.
|
|
50
|
-
"@tiptap/extension-placeholder": "^2.
|
|
51
|
-
"@tiptap/extension-subscript": "^2.
|
|
52
|
-
"@tiptap/extension-superscript": "^2.
|
|
53
|
-
"@tiptap/extension-table": "^2.
|
|
54
|
-
"@tiptap/extension-table-cell": "^2.
|
|
55
|
-
"@tiptap/extension-table-header": "^2.
|
|
56
|
-
"@tiptap/extension-table-row": "^2.
|
|
57
|
-
"@tiptap/extension-text-align": "^2.
|
|
58
|
-
"@tiptap/extension-text-style": "^2.
|
|
59
|
-
"@tiptap/extension-underline": "^2.
|
|
60
|
-
"@tiptap/pm": "^2.
|
|
61
|
-
"@tiptap/starter-kit": "^2.
|
|
62
|
-
"@tiptap/suggestion": "^2.
|
|
41
|
+
"@tiptap/core": "^2.1.12",
|
|
42
|
+
"@tiptap/extension-code": "^2.1.12",
|
|
43
|
+
"@tiptap/extension-code-block-lowlight": "^2.1.12",
|
|
44
|
+
"@tiptap/extension-color": "^2.1.12",
|
|
45
|
+
"@tiptap/extension-dropcursor": "^2.1.12",
|
|
46
|
+
"@tiptap/extension-highlight": "^2.1.12",
|
|
47
|
+
"@tiptap/extension-image": "^2.1.12",
|
|
48
|
+
"@tiptap/extension-link": "^2.1.12",
|
|
49
|
+
"@tiptap/extension-ordered-list": "^2.1.12",
|
|
50
|
+
"@tiptap/extension-placeholder": "^2.1.12",
|
|
51
|
+
"@tiptap/extension-subscript": "^2.1.12",
|
|
52
|
+
"@tiptap/extension-superscript": "^2.1.12",
|
|
53
|
+
"@tiptap/extension-table": "^2.1.12",
|
|
54
|
+
"@tiptap/extension-table-cell": "^2.1.12",
|
|
55
|
+
"@tiptap/extension-table-header": "^2.1.12",
|
|
56
|
+
"@tiptap/extension-table-row": "^2.1.12",
|
|
57
|
+
"@tiptap/extension-text-align": "^2.1.12",
|
|
58
|
+
"@tiptap/extension-text-style": "^2.1.12",
|
|
59
|
+
"@tiptap/extension-underline": "^2.1.12",
|
|
60
|
+
"@tiptap/pm": "^2.1.12",
|
|
61
|
+
"@tiptap/starter-kit": "^2.1.12",
|
|
62
|
+
"@tiptap/suggestion": "^2.1.12",
|
|
63
63
|
"emojis-keywords": "2.0.0",
|
|
64
64
|
"emojis-list": "3.0.0",
|
|
65
65
|
"lowlight": "^2.9.0",
|
|
66
|
-
"nunui": "^0.0.
|
|
66
|
+
"nunui": "^0.0.105",
|
|
67
67
|
"prosemirror-commands": "^1.5.2",
|
|
68
68
|
"prosemirror-model": "^1.19.3",
|
|
69
69
|
"prosemirror-state": "^1.4.3",
|
|
70
70
|
"prosemirror-tables": "^1.3.4",
|
|
71
|
-
"prosemirror-transform": "^1.
|
|
72
|
-
"prosemirror-view": "^1.
|
|
71
|
+
"prosemirror-transform": "^1.8.0",
|
|
72
|
+
"prosemirror-view": "^1.32.4",
|
|
73
73
|
"sanitize-html": "^2.11.0",
|
|
74
74
|
"svelte-tiptap": "^1.1.2",
|
|
75
75
|
"tippy.js": "^6.3.7"
|