@keyblade/tinymce-editor-vue2 0.0.3 → 0.0.4
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/es/editor.vue.d.ts +4 -4
- package/es/editor.vue2.js +3 -4
- package/package.json +3 -10
package/es/editor.vue.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Editor, RawEditorOptions } from 'tinymce';
|
|
2
2
|
|
|
3
|
-
declare const _default: import('vue
|
|
3
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
4
4
|
/** vue2 v-model */
|
|
5
5
|
value?: string | undefined;
|
|
6
6
|
/** vue3 v-model */
|
|
@@ -51,12 +51,12 @@ declare const _default: import('vue-demi').DefineComponent<__VLS_WithDefaults<__
|
|
|
51
51
|
imageMaxHeight: number;
|
|
52
52
|
options: () => {};
|
|
53
53
|
}>, {
|
|
54
|
-
insRef: import('vue
|
|
55
|
-
editorRef: import('vue
|
|
54
|
+
insRef: import('vue').Ref<HTMLElement | undefined>;
|
|
55
|
+
editorRef: import('vue').Ref<Editor | undefined>;
|
|
56
56
|
}, {}, {}, {}, import('vue/types/v3-component-options').ComponentOptionsMixin, import('vue/types/v3-component-options').ComponentOptionsMixin, {
|
|
57
57
|
input: (value: string) => void;
|
|
58
58
|
"update:modelValue": (value: string) => void;
|
|
59
|
-
}, string, Readonly<import('vue
|
|
59
|
+
}, string, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
60
60
|
/** vue2 v-model */
|
|
61
61
|
value?: string | undefined;
|
|
62
62
|
/** vue3 v-model */
|
package/es/editor.vue2.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { defineComponent as F } from "vue";
|
|
2
|
-
import { ref as y, computed as W, onMounted as N, onUnmounted as j, watch as L } from "vue-demi";
|
|
1
|
+
import { defineComponent as F, ref as y, computed as W, onMounted as N, onUnmounted as j, watch as L } from "vue";
|
|
3
2
|
import q from "compressorjs";
|
|
4
3
|
import { conclude as _ } from "vue-global-config";
|
|
5
4
|
import E from "tinymce";
|
|
@@ -33,7 +32,7 @@ import "tinymce/plugins/visualblocks";
|
|
|
33
32
|
import "tinymce/plugins/visualchars";
|
|
34
33
|
import "tinymce/plugins/wordcount";
|
|
35
34
|
import { globalProps as d } from "./index.js";
|
|
36
|
-
const
|
|
35
|
+
const ke = /* @__PURE__ */ F({
|
|
37
36
|
__name: "editor",
|
|
38
37
|
props: {
|
|
39
38
|
value: { default: "" },
|
|
@@ -273,5 +272,5 @@ const ze = /* @__PURE__ */ F({
|
|
|
273
272
|
}
|
|
274
273
|
});
|
|
275
274
|
export {
|
|
276
|
-
|
|
275
|
+
ke as default
|
|
277
276
|
};
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@keyblade/tinymce-editor-vue2",
|
|
3
3
|
"description": "KeyBlade Tinymce Editor Vue2",
|
|
4
4
|
"author": "yangshuai <704807396@qq.com>",
|
|
5
|
-
"version": "0.0.
|
|
5
|
+
"version": "0.0.4",
|
|
6
6
|
"private": false,
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "es/index.js",
|
|
@@ -22,18 +22,11 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"compressorjs": "^1.2.1",
|
|
24
24
|
"vue-global-config": "^0.6.1",
|
|
25
|
-
"tinymce": "^7.1.0"
|
|
26
|
-
"vue-demi": "^0.14.7"
|
|
25
|
+
"tinymce": "^7.1.0"
|
|
27
26
|
},
|
|
28
27
|
"devDependencies": {},
|
|
29
28
|
"peerDependencies": {
|
|
30
|
-
"
|
|
31
|
-
"vue": "^2.0.0 || >=3.3.4"
|
|
32
|
-
},
|
|
33
|
-
"peerDependenciesMeta": {
|
|
34
|
-
"@vue/composition-api": {
|
|
35
|
-
"optional": true
|
|
36
|
-
}
|
|
29
|
+
"vue": "^2.7.0"
|
|
37
30
|
},
|
|
38
31
|
"scripts": {
|
|
39
32
|
"build": "vite build",
|