@ctqeditor/editor-for-vue 1.0.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/README.md +20 -0
- package/dist/components/Editor.vue.d.ts +9 -0
- package/dist/components/Toolbar.vue.d.ts +5 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.esm.js +163 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/index.js +163 -0
- package/dist/index.js.map +1 -0
- package/package.json +89 -0
package/README.md
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
# wangEditor for Vue
|
2
|
+
|
3
|
+
[](https://github.com/facebook/react/blob/main/LICENSE) [](https://www.npmjs.com/package/@wangeditor/editor-for-vue/v/next) [](https://github.com/wangeditor-team/wangEditor-for-vue/actions)
|
4
|
+
|
5
|
+
[English documentation](./README-en.md)
|
6
|
+
|
7
|
+
## 介绍
|
8
|
+
|
9
|
+
基于 [wangEditor](https://www.wangeditor.com/) 封装的开箱即用的 [Vue2 组件](https://www.wangeditor.com/v5/for-frame.html#vue2)
|
10
|
+
|
11
|
+
## 安装
|
12
|
+
|
13
|
+
```shell
|
14
|
+
yarn add @wangeditor/editor
|
15
|
+
yarn add @wangeditor/editor-for-vue
|
16
|
+
```
|
17
|
+
|
18
|
+
## 使用
|
19
|
+
|
20
|
+
参考[文档](https://www.wangeditor.com/v5/for-frame.html#vue2)
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import Vue from 'vue';
|
2
|
+
declare const _default: import("vue/types/vue").ExtendedVue<Vue, {
|
3
|
+
curValue: string;
|
4
|
+
editor: null;
|
5
|
+
}, {
|
6
|
+
setHtml(newHtml: string): void;
|
7
|
+
create(): void;
|
8
|
+
}, unknown, Record<"defaultContent" | "defaultConfig" | "mode" | "defaultHtml" | "value", any>>;
|
9
|
+
export default _default;
|