@agilehub/agile-editor 1.8.6 → 1.9.1

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/package.json CHANGED
@@ -1,166 +1,167 @@
1
- {
2
- "name": "@agilehub/agile-editor",
3
- "version": "1.8.6",
4
- "description": "Rich text editor based on Vue 3 and Tiptap 3",
5
- "keywords": [
6
- "docs editor",
7
- "document editor",
8
- "editor",
9
- "office edtior",
10
- "online office",
11
- "richtext editor",
12
- "tiptap",
13
- "tiptap3",
14
- "vue editor",
15
- "vue3 editor",
16
- "web editor",
17
- "web office",
18
- "word editor"
19
- ],
20
- "license": "Apache-2.0",
21
- "author": "lytdev <lytdev@outlook.com>",
22
- "repository": {
23
- "type": "git",
24
- "url": "https://github.com/lytdev/agile-editor.git"
25
- },
26
- "files": [
27
- "dist",
28
- "docs"
29
- ],
30
- "type": "module",
31
- "types": "./dist/types/components/index.d.ts",
32
- "exports": {
33
- ".": {
34
- "types": "./dist/types/components/index.d.ts",
35
- "import": "./dist/agile-editor.js"
36
- },
37
- "./style": {
38
- "import": "./dist/agile-editor.css"
39
- }
40
- },
41
- "publishConfig": {
42
- "access": "public"
43
- },
44
- "scripts": {
45
- "build": "vue-tsc --noEmit && vite build && vue-tsc -p tsconfig.types.json",
46
- "test:style-target": "node --test tests/style-target.test.mjs tests/image-display-size.test.mjs tests/style-schema.test.mjs tests/link.test.mjs tests/iframe.test.mjs tests/bookmark-transaction.test.mjs tests/thousands-separator.test.mjs tests/font-style.test.mjs tests/font-size.test.mjs tests/callout.test.mjs tests/callout-indent.test.mjs tests/indent.test.mjs tests/style-mark-update.test.mjs tests/figure-caption-numbering.test.mjs tests/table-caption-numbering.test.mjs tests/file-name.test.mjs tests/timeline.test.mjs tests/caption-defaults.test.mjs tests/table-caption-visibility.test.mjs tests/details-collapse.test.mjs tests/editor-view.test.mjs tests/table-selection.test.mjs tests/table-appearance.test.mjs tests/table-border.test.mjs tests/table-properties.test.mjs tests/table-column-resize.test.mjs tests/table-layout.test.mjs tests/table-reset.test.mjs tests/document-loading.test.mjs tests/document-loading-i18n.test.mjs tests/document-save.test.mjs tests/attribute-roundtrip.test.mjs tests/table-attributes.test.mjs tests/bubble-note-selection.test.mjs tests/bubble-note-rich-content.test.mjs tests/bubble-note-image.test.mjs tests/bubble-note-render.test.mjs tests/bubble-note-default-limits.test.mjs tests/image-replacement.test.mjs tests/image-paste.test.mjs tests/insert-newline.test.mjs tests/table-row-resize.test.mjs tests/courseware-reader.test.mjs tests/pointer-hover-scheduler.test.mjs",
47
- "typecheck": "vue-tsc --noEmit",
48
- "dev": "vite --port 9000 --open --force",
49
- "format": "oxfmt --write .",
50
- "lint": "oxlint --fix src",
51
- "lint:style": "stylelint \"src/**/*.{vue,less}\" \"dev/**/*.{vue,less}\"",
52
- "lint:style:fix": "stylelint \"src/**/*.{vue,less}\" \"dev/**/*.{vue,less}\" --fix",
53
- "analyzer": "vite-bundle-visualizer",
54
- "prepare": "husky",
55
- "prepublishOnly": "npm run build"
56
- },
57
- "dependencies": {
58
- "@agilehub/docx-converter": "^1.2.3",
59
- "@agilehub/latex-formula": "1.2.2",
60
- "@agilehub/vue-pdf-flipbook": "^2.1.1",
61
- "@eslint/object-schema": "3.0.5",
62
- "@floating-ui/dom": "1.8.0",
63
- "@tiptap/core": "3.32.0",
64
- "@tiptap/extension-bold": "3.32.0",
65
- "@tiptap/extension-code-block": "3.32.0",
66
- "@tiptap/extension-code-block-lowlight": "3.32.0",
67
- "@tiptap/extension-collaboration": "3.32.0",
68
- "@tiptap/extension-details": "3.32.0",
69
- "@tiptap/extension-document": "3.32.0",
70
- "@tiptap/extension-drag-handle": "3.32.0",
71
- "@tiptap/extension-drag-handle-vue-3": "3.32.0",
72
- "@tiptap/extension-heading": "3.32.0",
73
- "@tiptap/extension-horizontal-rule": "3.32.0",
74
- "@tiptap/extension-image": "3.32.0",
75
- "@tiptap/extension-invisible-characters": "3.32.0",
76
- "@tiptap/extension-link": "3.32.0",
77
- "@tiptap/extension-list": "3.32.0",
78
- "@tiptap/extension-node-range": "3.32.0",
79
- "@tiptap/extension-paragraph": "3.32.0",
80
- "@tiptap/extension-subscript": "3.32.0",
81
- "@tiptap/extension-superscript": "3.32.0",
82
- "@tiptap/extension-table": "3.32.0",
83
- "@tiptap/extension-table-of-contents": "3.32.0",
84
- "@tiptap/extension-text-align": "3.32.0",
85
- "@tiptap/extension-text-style": "3.32.0",
86
- "@tiptap/extension-typography": "3.32.0",
87
- "@tiptap/extension-unique-id": "3.32.0",
88
- "@tiptap/extensions": "3.32.0",
89
- "@tiptap/pm": "3.32.0",
90
- "@tiptap/starter-kit": "3.32.0",
91
- "@tiptap/vue-3": "3.32.0",
92
- "@tiptap/y-tiptap": "3.0.10",
93
- "@tool-belt/type-predicates": "1.4.1",
94
- "@videojs/html": "10.7.0",
95
- "@vueuse/core": "15.0.0",
96
- "@zumer/snapdom": "2.24.18",
97
- "cropperjs": "^2.3.1",
98
- "dom-to-image-more": "3.11.0",
99
- "es-drager": "1.3.4",
100
- "file-saver": "2.0.5",
101
- "flowchart.js": "1.18.0",
102
- "hotkeys-js": "4.0.8",
103
- "hyperformula": "3.1.0",
104
- "lowlight": "3.3.0",
105
- "mermaid": "12.2.0",
106
- "nzh": "1.0.14",
107
- "ooxml-excel-editor": "1.16.3",
108
- "plantuml-encoder": "1.4.0",
109
- "pretty-bytes": "7.2.0",
110
- "swiper": "14.3.0",
111
- "tdesign-vue-next": "1.20.10",
112
- "vue-i18n": "11.4.16",
113
- "y-protocols": "1.0.7",
114
- "yjs": "13.6.33"
115
- },
116
- "devDependencies": {
117
- "@types/node": "^26.6.5",
118
- "@vitejs/plugin-vue": "^6.0.10",
119
- "@vue-macros/reactivity-transform": "^3.1.4",
120
- "esbuild": "^0.28.2",
121
- "fast-glob": "3.3.3",
122
- "husky": "^9.1.7",
123
- "less": "^4.9.1",
124
- "lint-staged": "^17.6.0",
125
- "oxfmt": "^0.74.0",
126
- "oxlint": "^1.89.0",
127
- "postcss": "^8.5.31",
128
- "postcss-html": "^2.0.0",
129
- "stylelint": "^18.0.0",
130
- "stylelint-config-html": "^2.0.0",
131
- "stylelint-config-recommended": "^19.0.0",
132
- "stylelint-config-recommended-less": "^5.0.0",
133
- "stylelint-config-recommended-vue": "^2.0.0",
134
- "stylelint-less": "^5.0.0",
135
- "typescript": "~6.0.3",
136
- "unplugin-auto-import": "^21.1.0",
137
- "unplugin-vue-components": "^32.1.0",
138
- "vite": "^8.3.4",
139
- "vite-bundle-visualizer": "^1.2.1",
140
- "vite-plugin-svg-icons": "^2.0.1",
141
- "vue": "^3.5.44",
142
- "vue-tsc": "^3.3.13"
143
- },
144
- "overrides": {
145
- "prosemirror-model": "1.25.12",
146
- "rolldown": "^1.2.14"
147
- },
148
- "lint-staged": {
149
- "*.ts": [
150
- "oxfmt --write",
151
- "oxlint --fix"
152
- ],
153
- "*.vue": [
154
- "oxfmt --write",
155
- "oxlint --fix",
156
- "stylelint --fix"
157
- ],
158
- "*.less": [
159
- "oxfmt --write",
160
- "stylelint --fix"
161
- ]
162
- },
163
- "engines": {
164
- "node": "^22.22.1 || ^24.11.0 || >=26.0.0"
165
- }
166
- }
1
+ {
2
+ "name": "@agilehub/agile-editor",
3
+ "version": "1.9.1",
4
+ "description": "Rich text editor based on Vue 3 and Tiptap 3",
5
+ "keywords": [
6
+ "docs editor",
7
+ "document editor",
8
+ "editor",
9
+ "office edtior",
10
+ "online office",
11
+ "richtext editor",
12
+ "tiptap",
13
+ "tiptap3",
14
+ "vue editor",
15
+ "vue3 editor",
16
+ "web editor",
17
+ "web office",
18
+ "word editor"
19
+ ],
20
+ "license": "Apache-2.0",
21
+ "author": "lytdev <lytdev@outlook.com>",
22
+ "repository": {
23
+ "type": "git",
24
+ "url": "https://github.com/lytdev/agile-editor.git"
25
+ },
26
+ "files": [
27
+ "dist",
28
+ "docs"
29
+ ],
30
+ "type": "module",
31
+ "types": "./dist/types/components/index.d.ts",
32
+ "exports": {
33
+ ".": {
34
+ "types": "./dist/types/components/index.d.ts",
35
+ "import": "./dist/agile-editor.js"
36
+ },
37
+ "./style": {
38
+ "import": "./dist/agile-editor.css"
39
+ }
40
+ },
41
+ "publishConfig": {
42
+ "access": "public"
43
+ },
44
+ "scripts": {
45
+ "build": "vue-tsc --noEmit && vite build && vue-tsc -p tsconfig.types.json",
46
+ "test:style-target": "node --test tests/style-target.test.mjs tests/image-display-size.test.mjs tests/style-schema.test.mjs tests/link.test.mjs tests/iframe.test.mjs tests/bookmark-transaction.test.mjs tests/thousands-separator.test.mjs tests/font-style.test.mjs tests/font-size.test.mjs tests/callout.test.mjs tests/callout-indent.test.mjs tests/indent.test.mjs tests/style-mark-update.test.mjs tests/figure-caption-numbering.test.mjs tests/table-caption-numbering.test.mjs tests/file-name.test.mjs tests/timeline.test.mjs tests/caption-defaults.test.mjs tests/table-caption-visibility.test.mjs tests/details-collapse.test.mjs tests/editor-view.test.mjs tests/table-selection.test.mjs tests/table-appearance.test.mjs tests/table-border.test.mjs tests/table-properties.test.mjs tests/table-cell-padding.test.mjs tests/table-column-resize.test.mjs tests/table-layout.test.mjs tests/table-reset.test.mjs tests/document-loading.test.mjs tests/document-loading-i18n.test.mjs tests/document-save.test.mjs tests/attribute-roundtrip.test.mjs tests/table-attributes.test.mjs tests/bubble-note-selection.test.mjs tests/bubble-note-rich-content.test.mjs tests/bubble-note-image.test.mjs tests/bubble-note-render.test.mjs tests/bubble-note-default-limits.test.mjs tests/image-replacement.test.mjs tests/image-paste.test.mjs tests/insert-newline.test.mjs tests/table-row-resize.test.mjs tests/courseware-reader.test.mjs tests/pointer-hover-scheduler.test.mjs tests/tiptap-upgrade.test.mjs",
47
+ "test:table-repair": "node --test tests/table-repair.test.mjs",
48
+ "typecheck": "vue-tsc --noEmit",
49
+ "dev": "vite --port 9000 --open --force",
50
+ "format": "oxfmt --write .",
51
+ "lint": "oxlint --fix src",
52
+ "lint:style": "stylelint \"src/**/*.{vue,less}\" \"dev/**/*.{vue,less}\"",
53
+ "lint:style:fix": "stylelint \"src/**/*.{vue,less}\" \"dev/**/*.{vue,less}\" --fix",
54
+ "analyzer": "vite-bundle-visualizer",
55
+ "prepare": "husky",
56
+ "prepublishOnly": "npm run build"
57
+ },
58
+ "dependencies": {
59
+ "@agilehub/docx-converter": "^1.2.3",
60
+ "@agilehub/latex-formula": "1.2.2",
61
+ "@agilehub/vue-pdf-flipbook": "^2.1.1",
62
+ "@eslint/object-schema": "3.0.5",
63
+ "@floating-ui/dom": "1.8.0",
64
+ "@tiptap/core": "3.35.1",
65
+ "@tiptap/extension-bold": "3.35.1",
66
+ "@tiptap/extension-code-block": "3.35.1",
67
+ "@tiptap/extension-code-block-lowlight": "3.35.1",
68
+ "@tiptap/extension-collaboration": "3.35.1",
69
+ "@tiptap/extension-details": "3.35.1",
70
+ "@tiptap/extension-document": "3.35.1",
71
+ "@tiptap/extension-drag-handle": "3.35.1",
72
+ "@tiptap/extension-drag-handle-vue-3": "3.35.1",
73
+ "@tiptap/extension-heading": "3.35.1",
74
+ "@tiptap/extension-horizontal-rule": "3.35.1",
75
+ "@tiptap/extension-image": "3.35.1",
76
+ "@tiptap/extension-invisible-characters": "3.35.1",
77
+ "@tiptap/extension-link": "3.35.1",
78
+ "@tiptap/extension-list": "3.35.1",
79
+ "@tiptap/extension-node-range": "3.35.1",
80
+ "@tiptap/extension-paragraph": "3.35.1",
81
+ "@tiptap/extension-subscript": "3.35.1",
82
+ "@tiptap/extension-superscript": "3.35.1",
83
+ "@tiptap/extension-table": "3.35.1",
84
+ "@tiptap/extension-table-of-contents": "3.35.1",
85
+ "@tiptap/extension-text-align": "3.35.1",
86
+ "@tiptap/extension-text-style": "3.35.1",
87
+ "@tiptap/extension-typography": "3.35.1",
88
+ "@tiptap/extension-unique-id": "3.35.1",
89
+ "@tiptap/extensions": "3.35.1",
90
+ "@tiptap/pm": "3.35.1",
91
+ "@tiptap/starter-kit": "3.35.1",
92
+ "@tiptap/vue-3": "3.35.1",
93
+ "@tiptap/y-tiptap": "3.3.1",
94
+ "@tool-belt/type-predicates": "1.4.1",
95
+ "@videojs/html": "10.7.0",
96
+ "@vueuse/core": "15.0.0",
97
+ "@zumer/snapdom": "2.24.18",
98
+ "cropperjs": "^2.3.1",
99
+ "dom-to-image-more": "3.11.0",
100
+ "es-drager": "1.3.4",
101
+ "file-saver": "2.0.5",
102
+ "flowchart.js": "1.18.0",
103
+ "hotkeys-js": "4.0.8",
104
+ "hyperformula": "3.1.0",
105
+ "lowlight": "3.3.0",
106
+ "mermaid": "12.2.0",
107
+ "nzh": "1.0.14",
108
+ "ooxml-excel-editor": "1.16.3",
109
+ "plantuml-encoder": "1.4.0",
110
+ "pretty-bytes": "7.2.0",
111
+ "swiper": "14.3.0",
112
+ "tdesign-vue-next": "1.20.10",
113
+ "vue-i18n": "11.4.16",
114
+ "y-protocols": "1.0.7",
115
+ "yjs": "13.6.33"
116
+ },
117
+ "devDependencies": {
118
+ "@types/node": "^26.6.5",
119
+ "@vitejs/plugin-vue": "^6.0.10",
120
+ "@vue-macros/reactivity-transform": "^3.1.4",
121
+ "esbuild": "^0.28.2",
122
+ "fast-glob": "3.3.3",
123
+ "husky": "^9.1.7",
124
+ "less": "^4.9.1",
125
+ "lint-staged": "^17.6.0",
126
+ "oxfmt": "^0.74.0",
127
+ "oxlint": "^1.89.0",
128
+ "postcss": "^8.5.34",
129
+ "postcss-html": "^2.0.0",
130
+ "stylelint": "^18.0.0",
131
+ "stylelint-config-html": "^2.0.0",
132
+ "stylelint-config-recommended": "^19.0.0",
133
+ "stylelint-config-recommended-less": "^5.0.0",
134
+ "stylelint-config-recommended-vue": "^2.0.0",
135
+ "stylelint-less": "^5.0.0",
136
+ "typescript": "~6.0.3",
137
+ "unplugin-auto-import": "^21.1.0",
138
+ "unplugin-vue-components": "^32.1.0",
139
+ "vite": "^8.3.4",
140
+ "vite-bundle-visualizer": "^1.2.1",
141
+ "vite-plugin-svg-icons": "^2.0.1",
142
+ "vue": "^3.5.44",
143
+ "vue-tsc": "^3.3.13"
144
+ },
145
+ "overrides": {
146
+ "prosemirror-model": "1.25.13",
147
+ "rolldown": "^1.2.14"
148
+ },
149
+ "lint-staged": {
150
+ "*.ts": [
151
+ "oxfmt --write",
152
+ "oxlint --fix"
153
+ ],
154
+ "*.vue": [
155
+ "oxfmt --write",
156
+ "oxlint --fix",
157
+ "stylelint --fix"
158
+ ],
159
+ "*.less": [
160
+ "oxfmt --write",
161
+ "stylelint --fix"
162
+ ]
163
+ },
164
+ "engines": {
165
+ "node": "^22.22.1 || ^24.11.0 || >=26.0.0"
166
+ }
167
+ }