|
- wangEditor
支持 JS Vue React 不依赖任何第三方框架,可用于 jQuery Vue React 等。 wangEditor 提供了官方的 Vue React 组件。
- 快速开始 - wangEditor
TIP 不同 mode 可参考 demo mode: 'default' open in new window 默认模式 - 集成了 wangEditor 所有功能 mode: 'simple' open in new window 简洁模式 - 仅有部分常见功能,但更加简洁易用
- 安装 - wangEditor
新建一个 test1 文件夹,打开控制台,目录定位到该文件夹,执行 npm install @wangeditor editor 或 yarn add @wangeditor editor 安装完成,打开 node_modules @wangeditor editor dist 文件夹,即可找到 JS CSS 文件:
- 编辑器配置 | wangEditor
编辑器配置 import { IEditorConfig } from '@wangeditor editor' const editorConfig: Partial<IEditorConfig> = { TS 语法 const editorConfig = { JS 语法 * 编辑器配置 * } 创建 editor 或传入 Vue React <Editor> 组件
- 用于 Vue React - wangEditor
用于 Vue React Vue2 Demo Demo 源码 open in new window 在线 demo open in new window 安装 yarn add @wangeditor editor # 或者 npm install @wangeditor editor --save yarn add @wangeditor editor-for-vue # 或者 npm install @wangeditor editor-for-vue --save
- wangEditor
wangEditor 5 Open source web rich text editor, run right out of the box, config simply Getting started demo
- 优势 - wangEditor
wangEditor 基于 slate 内核开发,但不依赖于 React ,所以它本身是无框架依赖的。 并且,我们官方封装了 Vue React 组件,可以很方便的 用于 Vue React 等框架。
- Getting Started - wangEditor
Getting Started If you wanna to use wangEditor in Vue or React, please read this article first, then check this article Create Empty Editor You can see demo page source code Import CSS and define style
|
|
|