erl-mathtextx-editor 0.1.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.
- package/LICENSE +21 -0
- package/README.md +251 -0
- package/dist/CellPropertiesDialogImpl-CgWcr4bD.js +101 -0
- package/dist/ContentViewer-DcvxXP9t.js +43 -0
- package/dist/ImageInsertDialog-Di0MXcC2.js +222 -0
- package/dist/InsertTableDialogImpl-CKirXRqE.js +100 -0
- package/dist/LinkDialogImpl-BSz0F-xG.js +136 -0
- package/dist/MathTextXEditor.d.ts +8 -0
- package/dist/TableTemplatesDialogImpl-DrdqLQLH.js +64 -0
- package/dist/TemplatePanel-BE_UfzYM.js +710 -0
- package/dist/assets/erl-mathtextx-editor.css +1 -0
- package/dist/assets/viewer.css +1 -0
- package/dist/components/CellPropertiesDialog.d.ts +4 -0
- package/dist/components/CellPropertiesDialogImpl.d.ts +14 -0
- package/dist/components/GraphComponent.d.ts +3 -0
- package/dist/components/ImageContextMenu.d.ts +18 -0
- package/dist/components/ImageEditDialog.d.ts +25 -0
- package/dist/components/ImageInsertDialog.d.ts +14 -0
- package/dist/components/ImageNodeView.d.ts +3 -0
- package/dist/components/InsertTableDialog.d.ts +4 -0
- package/dist/components/InsertTableDialogImpl.d.ts +7 -0
- package/dist/components/LinkDialog.d.ts +4 -0
- package/dist/components/LinkDialogImpl.d.ts +18 -0
- package/dist/components/TableMenu.d.ts +21 -0
- package/dist/components/TableTemplatesDialog.d.ts +4 -0
- package/dist/components/TableTemplatesDialogImpl.d.ts +15 -0
- package/dist/components/WordCount.d.ts +6 -0
- package/dist/components/__tests__/WordCount.test.d.ts +1 -0
- package/dist/components/tableTemplateStyles.d.ts +2 -0
- package/dist/components/useDialogA11y.d.ts +6 -0
- package/dist/components/wordCountUtils.d.ts +3 -0
- package/dist/core/__tests__/serializer.test.d.ts +1 -0
- package/dist/core/extensions.d.ts +9 -0
- package/dist/core/serializer.d.ts +24 -0
- package/dist/erl-mathtextx-editor.js +30 -0
- package/dist/erl-mathtextx-editor.umd.cjs +3508 -0
- package/dist/extensions/GraphExtension.d.ts +9 -0
- package/dist/index-CLGg8QXp.js +8700 -0
- package/dist/index-DYxMVo98.js +4599 -0
- package/dist/index.d.ts +33 -0
- package/dist/math/MathNodes.d.ts +11 -0
- package/dist/math/MathTypeDialog.d.ts +8 -0
- package/dist/math/MatrixGridSelector.d.ts +5 -0
- package/dist/math/SymbolPalette.d.ts +5 -0
- package/dist/math/TemplatePanel.d.ts +5 -0
- package/dist/mathlive-BwNIIOwE.js +14488 -0
- package/dist/templates/index.d.ts +17 -0
- package/dist/tiptap-BhJ7Fu9S.js +17927 -0
- package/dist/toolbar/MainToolbar.d.ts +14 -0
- package/dist/toolbar/MathToolbar.d.ts +7 -0
- package/dist/types/index.d.ts +73 -0
- package/dist/utils/exportUtils.d.ts +19 -0
- package/dist/utils/pasteHandler.d.ts +17 -0
- package/dist/viewer/ContentViewer.d.ts +29 -0
- package/dist/viewer/index.d.ts +2 -0
- package/dist/viewer/styles.d.ts +0 -0
- package/dist/viewer-deps-xNPNdmbe.js +12141 -0
- package/dist/viewer-styles.d.ts +1 -0
- package/dist/viewer-styles.js +1 -0
- package/dist/viewer.d.ts +2 -0
- package/dist/viewer.js +4 -0
- package/package.json +132 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
package/dist/viewer.d.ts
ADDED
package/dist/viewer.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "erl-mathtextx-editor",
|
|
3
|
+
"version": "0.1.2",
|
|
4
|
+
"description": "Visual math editor component for solutest.id — CKEditor replacement with zero-LaTeX approach",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/erl-mathtextx-editor.umd.cjs",
|
|
7
|
+
"module": "./dist/erl-mathtextx-editor.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"import": "./dist/erl-mathtextx-editor.js",
|
|
12
|
+
"require": "./dist/erl-mathtextx-editor.umd.cjs",
|
|
13
|
+
"types": "./dist/index.d.ts"
|
|
14
|
+
},
|
|
15
|
+
"./viewer": {
|
|
16
|
+
"import": "./dist/viewer.js",
|
|
17
|
+
"types": "./dist/viewer.d.ts"
|
|
18
|
+
},
|
|
19
|
+
"./styles": "./dist/assets/erl-mathtextx-editor.css",
|
|
20
|
+
"./viewer/styles": "./dist/viewer-styles.js"
|
|
21
|
+
},
|
|
22
|
+
"files": [
|
|
23
|
+
"dist"
|
|
24
|
+
],
|
|
25
|
+
"scripts": {
|
|
26
|
+
"dev": "vite",
|
|
27
|
+
"build": "tsc && vite build && vite build --config vite.config.umd.ts",
|
|
28
|
+
"preview": "vite preview",
|
|
29
|
+
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
30
|
+
"test": "vitest",
|
|
31
|
+
"test:run": "vitest run",
|
|
32
|
+
"test:coverage": "vitest run --coverage"
|
|
33
|
+
},
|
|
34
|
+
"peerDependencies": {
|
|
35
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
36
|
+
"react-dom": "^18.0.0 || ^19.0.0"
|
|
37
|
+
},
|
|
38
|
+
"dependencies": {
|
|
39
|
+
"@tiptap/core": "^2.11.0",
|
|
40
|
+
"@tiptap/extension-bold": "^2.11.0",
|
|
41
|
+
"@tiptap/extension-bullet-list": "^2.11.0",
|
|
42
|
+
"@tiptap/extension-code-block": "^2.11.0",
|
|
43
|
+
"@tiptap/extension-color": "^2.27.2",
|
|
44
|
+
"@tiptap/extension-document": "^2.11.0",
|
|
45
|
+
"@tiptap/extension-dropcursor": "^2.11.0",
|
|
46
|
+
"@tiptap/extension-font-family": "^2.27.2",
|
|
47
|
+
"@tiptap/extension-gapcursor": "^2.11.0",
|
|
48
|
+
"@tiptap/extension-hard-break": "^2.11.0",
|
|
49
|
+
"@tiptap/extension-heading": "^2.11.0",
|
|
50
|
+
"@tiptap/extension-highlight": "^2.27.2",
|
|
51
|
+
"@tiptap/extension-history": "^2.11.0",
|
|
52
|
+
"@tiptap/extension-horizontal-rule": "^2.11.0",
|
|
53
|
+
"@tiptap/extension-image": "^2.11.0",
|
|
54
|
+
"@tiptap/extension-italic": "^2.11.0",
|
|
55
|
+
"@tiptap/extension-link": "^2.11.0",
|
|
56
|
+
"@tiptap/extension-list-item": "^2.11.0",
|
|
57
|
+
"@tiptap/extension-ordered-list": "^2.11.0",
|
|
58
|
+
"@tiptap/extension-paragraph": "^2.11.0",
|
|
59
|
+
"@tiptap/extension-placeholder": "^2.11.0",
|
|
60
|
+
"@tiptap/extension-strike": "^2.11.0",
|
|
61
|
+
"@tiptap/extension-subscript": "^2.11.0",
|
|
62
|
+
"@tiptap/extension-superscript": "^2.11.0",
|
|
63
|
+
"@tiptap/extension-task-item": "^2.11.0",
|
|
64
|
+
"@tiptap/extension-task-list": "^2.11.0",
|
|
65
|
+
"@tiptap/extension-table": "^2.11.0",
|
|
66
|
+
"@tiptap/extension-table-cell": "^2.11.0",
|
|
67
|
+
"@tiptap/extension-table-header": "^2.11.0",
|
|
68
|
+
"@tiptap/extension-table-row": "^2.11.0",
|
|
69
|
+
"@tiptap/extension-text": "^2.11.0",
|
|
70
|
+
"@tiptap/extension-text-align": "^2.27.2",
|
|
71
|
+
"@tiptap/extension-text-style": "^2.27.2",
|
|
72
|
+
"@tiptap/extension-typography": "^2.27.2",
|
|
73
|
+
"@tiptap/extension-underline": "^2.11.0",
|
|
74
|
+
"@tiptap/pm": "^2.11.0",
|
|
75
|
+
"@tiptap/react": "^2.11.0",
|
|
76
|
+
"@tiptap/starter-kit": "^2.11.0",
|
|
77
|
+
"@weiruo/tiptap-extension-indent": "^2.0.4-1",
|
|
78
|
+
"dompurify": "^3.3.1",
|
|
79
|
+
"function-plot": "^1.25.3",
|
|
80
|
+
"html2canvas": "^1.4.1",
|
|
81
|
+
"jspdf": "^4.1.0",
|
|
82
|
+
"katex": "^0.16.33",
|
|
83
|
+
"mathlive": "^0.101.0"
|
|
84
|
+
},
|
|
85
|
+
"devDependencies": {
|
|
86
|
+
"@eslint/js": "^9.39.2",
|
|
87
|
+
"@types/dompurify": "^3.0.5",
|
|
88
|
+
"@types/react": "^18.2.0",
|
|
89
|
+
"@types/react-dom": "^18.2.0",
|
|
90
|
+
"@typescript-eslint/eslint-plugin": "^8.56.0",
|
|
91
|
+
"@typescript-eslint/parser": "^8.56.0",
|
|
92
|
+
"@vitejs/plugin-react": "^4.3.0",
|
|
93
|
+
"@vitest/coverage-v8": "^2.1.9",
|
|
94
|
+
"eslint": "^9.39.2",
|
|
95
|
+
"eslint-plugin-react": "^7.37.5",
|
|
96
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
97
|
+
"eslint-plugin-react-refresh": "^0.5.0",
|
|
98
|
+
"globals": "^17.3.0",
|
|
99
|
+
"jsdom": "^24.1.3",
|
|
100
|
+
"react": "^18.2.0",
|
|
101
|
+
"react-dom": "^18.2.0",
|
|
102
|
+
"typescript": "^5.5.0",
|
|
103
|
+
"typescript-eslint": "^8.57.0",
|
|
104
|
+
"vite": "^5.4.0",
|
|
105
|
+
"vite-plugin-css-injected-by-js": "^3.5.0",
|
|
106
|
+
"vite-plugin-dts": "^4.0.0",
|
|
107
|
+
"vitest": "^2.1.9"
|
|
108
|
+
},
|
|
109
|
+
"license": "MIT",
|
|
110
|
+
"author": "Erlangga Team",
|
|
111
|
+
"repository": {
|
|
112
|
+
"type": "git",
|
|
113
|
+
"url": "git+https://github.com/erlangga/richtext-editor-research.git"
|
|
114
|
+
},
|
|
115
|
+
"homepage": "https://github.com/erlangga/richtext-editor-research#readme",
|
|
116
|
+
"bugs": {
|
|
117
|
+
"url": "https://github.com/erlangga/richtext-editor-research/issues"
|
|
118
|
+
},
|
|
119
|
+
"publishConfig": {
|
|
120
|
+
"access": "public",
|
|
121
|
+
"registry": "https://registry.npmjs.org/"
|
|
122
|
+
},
|
|
123
|
+
"keywords": [
|
|
124
|
+
"math-editor",
|
|
125
|
+
"tiptap",
|
|
126
|
+
"mathlive",
|
|
127
|
+
"wysiwyg",
|
|
128
|
+
"ckeditor-replacement",
|
|
129
|
+
"solutest",
|
|
130
|
+
"react"
|
|
131
|
+
]
|
|
132
|
+
}
|