@clevertask/scribe 0.0.11 → 0.0.12
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/assets/index.css +1 -1
- package/dist/components/Menu/BubbleMenu.js +1 -1
- package/dist/components/Menu/Mobile/ListOptionBar.d.ts +6 -0
- package/dist/components/Menu/Mobile/ListOptionBar.js +40 -0
- package/dist/components/Scribe/extension/emoji/suggest.js +1 -1
- package/dist/components/Scribe/extension/extension-link.js +240 -244
- package/dist/components/Scribe/extension/extension-selectedText.js +1 -1
- package/dist/components/Scribe/extension/index.d.ts +1 -1
- package/dist/components/Scribe/extension/index.js +24 -25
- package/dist/components/Scribe/extension/slashCommand/SlashCommandList.js +5 -5
- package/dist/components/Scribe/extension/slashCommand/index.js +2 -2
- package/dist/components/Scribe/extension/slashCommand/renderItems.js +2 -2
- package/dist/components/Scribe/index.d.ts +1 -0
- package/dist/components/Scribe/index.js +83 -60
- package/dist/index-B0pieAxt.js +160 -0
- package/dist/{index-CasgquAq.js → index-CCS9HOYd.js} +16838 -5188
- package/dist/{index-DeZ8laak.js → index-DoNRu1rY.js} +1573 -1513
- package/dist/index-VneQGVTd.js +2385 -0
- package/dist/main.css +4 -4
- package/dist/marked.esm-BS_MmRZC.js +1566 -0
- package/dist/purify.es-BGaRrCfO.js +553 -0
- package/dist/turndown.browser.es-RmA_HBaI.js +649 -0
- package/dist/utils/create-scribe-editor.js +7 -6
- package/dist/utils/html-to-markdown.js +7 -6
- package/dist/utils/markdown-to-html.js +4 -3
- package/package.json +13 -12
- package/dist/browser-BJWkU9cc.js +0 -2106
- package/dist/components/Scribe/extension/math-extension.d.ts +0 -2
- package/dist/components/Scribe/extension/math-extension.js +0 -11770
- package/dist/index-BqFHWqw6.js +0 -156
- package/dist/index-C_aWB8qt.js +0 -2291
- package/dist/turndown.browser.es-C1wFFc_i.js +0 -1172
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "A Tiptap-based rich text editor with a Notion-style block interface for viewing and creating content. Perfect for diverse needs like notes, documents, AI chat, Markdown parsing, and comments.",
|
|
4
4
|
"author": "CleverTask",
|
|
5
5
|
"private": false,
|
|
6
|
-
"version": "0.0.
|
|
6
|
+
"version": "0.0.12",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "dist/main.js",
|
|
9
9
|
"types": "dist/main.d.ts",
|
|
@@ -31,15 +31,6 @@
|
|
|
31
31
|
"type": "git",
|
|
32
32
|
"url": "git+https://github.com/clevertask/scribe.git"
|
|
33
33
|
},
|
|
34
|
-
"scripts": {
|
|
35
|
-
"dev": "vite",
|
|
36
|
-
"build": "vite build && npm run build:style",
|
|
37
|
-
"build:style": "postcss ./lib/styles/main.css -o ./dist/main.css",
|
|
38
|
-
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
39
|
-
"preview": "vite preview",
|
|
40
|
-
"prettier:lint": "npx prettier . --check",
|
|
41
|
-
"prettier:format": "npx prettier . --write"
|
|
42
|
-
},
|
|
43
34
|
"peerDependencies": {
|
|
44
35
|
"react": "^18.3.1",
|
|
45
36
|
"react-dom": "^18.3.1"
|
|
@@ -81,6 +72,7 @@
|
|
|
81
72
|
"@tiptap/extension-highlight": "^2.25.0",
|
|
82
73
|
"@tiptap/extension-image": "^2.25.0",
|
|
83
74
|
"@tiptap/extension-link": "^2.25.0",
|
|
75
|
+
"@tiptap/extension-mathematics": "^3.19.0",
|
|
84
76
|
"@tiptap/extension-placeholder": "^2.25.0",
|
|
85
77
|
"@tiptap/extension-table": "^2.25.0",
|
|
86
78
|
"@tiptap/extension-table-cell": "^2.25.0",
|
|
@@ -94,10 +86,19 @@
|
|
|
94
86
|
"@tiptap/starter-kit": "^2.25.0",
|
|
95
87
|
"@tiptap/suggestion": "^2.25.0",
|
|
96
88
|
"clsx": "^2.1.1",
|
|
97
|
-
"
|
|
89
|
+
"dompurify": "^3.3.1",
|
|
98
90
|
"katex": "^0.16.22",
|
|
99
91
|
"marked": "^15.0.12",
|
|
100
92
|
"tippy.js": "^6.3.7",
|
|
101
93
|
"turndown": "^7.2.0"
|
|
94
|
+
},
|
|
95
|
+
"scripts": {
|
|
96
|
+
"dev": "vite",
|
|
97
|
+
"build": "vite build && npm run build:style",
|
|
98
|
+
"build:style": "postcss ./lib/styles/main.css -o ./dist/main.css",
|
|
99
|
+
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
100
|
+
"preview": "vite preview",
|
|
101
|
+
"prettier:lint": "npx prettier . --check",
|
|
102
|
+
"prettier:format": "npx prettier . --write"
|
|
102
103
|
}
|
|
103
|
-
}
|
|
104
|
+
}
|