@ctqeditor/editor-for-vue 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- 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
|
+
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/facebook/react/blob/main/LICENSE) [![npm](https://img.shields.io/npm/v/@wangeditor/editor-for-vue.svg)](https://www.npmjs.com/package/@wangeditor/editor-for-vue/v/next) [![build status](https://github.com/wangeditor-team/wangEditor-for-vue/actions/workflows/npm-publish.yml/badge.svg?branch=main)](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;
|