vue-editify 0.1.49 → 0.2.0
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/lib/editify.es.js +2 -1
- package/lib/editify.umd.js +2 -1
- package/lib/index.d.ts +1 -1
- package/package.json +3 -3
- package/src/index.ts +1 -1
- package/vite.config.ts +2 -1
- package/lib/style.css +0 -1
package/lib/index.d.ts
CHANGED
@@ -8,7 +8,7 @@ export type { MenuButtonType, MenuSelectButtonType, MenuDisplayButtonType, MenuI
|
|
8
8
|
export type { ElementMatchConfigType } from './core/function';
|
9
9
|
export { elementIsMatch, getMatchElementByElement, getMatchElementByRange, isList, isTask, elementIsInList, elementIsInTask, hasPreInRange, hasQuoteInRange, hasListInRange, hasTaskInRange, hasLinkInRange, hasTableInRange, hasImageInRange, hasVideoInRange, isRangeInQuote, isRangeInList, isRangeInTask, queryTextStyle, queryTextMark, getRangeText, setIndentIncrease, setIndentDecrease, setQuote, setAlign, setList, setTask, setTextStyle, setTextMark, removeTextStyle, removeTextMark, setLineHeight, insertLink, insertImage, insertVideo, insertTable, insertCodeBlock, insertSeparator } from './core/function';
|
10
10
|
declare const install: FunctionPlugin;
|
11
|
-
declare const version = "0.
|
11
|
+
declare const version = "0.2.0";
|
12
12
|
export { AlexElement } from 'alex-editor';
|
13
13
|
export type { AttachmentOptionsType } from './plugins/attachment';
|
14
14
|
export type { InsertAttachmentUploadErrorType } from './plugins/attachment/insertAttachment/props';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "vue-editify",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.2.0",
|
4
4
|
"private": false,
|
5
5
|
"sideEffects": [
|
6
6
|
"*.css"
|
@@ -28,12 +28,12 @@
|
|
28
28
|
"@types/node": "^20.11.24",
|
29
29
|
"@vitejs/plugin-vue": "^5.0.4",
|
30
30
|
"less": "^3.0.4",
|
31
|
-
"less-loader": "^5.0.0",
|
32
31
|
"terser": "^5.16.9",
|
33
32
|
"typescript": "^5.2.2",
|
34
33
|
"vite": "^5.2.8",
|
35
34
|
"vite-plugin-dts": "^3.7.3",
|
36
|
-
"vue-tsc": "^1.8.27"
|
35
|
+
"vue-tsc": "^1.8.27",
|
36
|
+
"vite-plugin-css-injected-by-js": "^3.5.1"
|
37
37
|
},
|
38
38
|
"browserslist": [
|
39
39
|
"> 1%",
|
package/src/index.ts
CHANGED
package/vite.config.ts
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
import { defineConfig } from 'vite'
|
2
2
|
import vue from '@vitejs/plugin-vue'
|
3
3
|
import dts from 'vite-plugin-dts'
|
4
|
+
import cssInjectedByJsPlugin from 'vite-plugin-css-injected-by-js'
|
4
5
|
import path from 'path'
|
5
6
|
|
6
7
|
export default defineConfig({
|
7
|
-
plugins: [vue(), dts()],
|
8
|
+
plugins: [vue(), dts(), cssInjectedByJsPlugin({ topExecutionPriority: false })],
|
8
9
|
build: {
|
9
10
|
//打包后的目录名称
|
10
11
|
outDir: 'lib',
|