@wangeditor/editor-for-react
wangEditor editor-for-react module
Last updated 3 years ago by wangfupeng1988 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install @wangeditor/editor-for-react 
SYNC missed versions from official npm registry.

wangEditor for React

MIT License jest badge

English documentation

介绍

基于wangEditor 封装的React组件。

安装

  1. 安装组件包
yarn add @wangeditor/editor-for-react
# 或者npm install @wangeditor/editor-for-react --save

  1. 安装核心包
yarn add @wangeditor/editor

# 或者 npm install @wangeditor/editor --save
  1. 导入组件
import { Editor, Toolbar } from '@wangeditor/editor-for-react'

使用

详情参考wangEditor react使用文档

在Next.js下使用

import dynamic  from 'next/dynamic'
const WangEditor = dynamic(
  // 引入对应的组件 设置的组件参考上面的wangEditor react使用文档
  () => import('../components/myEditor'),
  {ssr: false}
)

export default function Home() {
  return <WangEditor />
}

使用案例可以参考wangeditorV5-nextjs-demo

Current Tags

  • 1.0.6                                ...           latest (2 years ago)

32 Versions

  • 1.0.6                                ...           2 years ago
  • 1.0.5                                ...           2 years ago
  • 1.0.4                                ...           3 years ago
  • 1.0.3                                ...           3 years ago
  • 1.0.2                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
  • 0.6.26                                ...           3 years ago
  • 0.6.25                                ...           3 years ago
  • 0.6.24                                ...           3 years ago
  • 0.6.23                                ...           3 years ago
  • 0.6.22                                ...           3 years ago
  • 0.6.21                                ...           3 years ago
  • 0.6.20                                ...           3 years ago
  • 0.6.19                                ...           3 years ago
  • 0.6.18                                ...           3 years ago
  • 0.6.17                                ...           3 years ago
  • 0.6.16                                ...           3 years ago
  • 0.6.15-0                                ...           3 years ago
  • 0.6.14                                ...           3 years ago
  • 0.6.13-1                                ...           3 years ago
  • 0.6.11                                ...           3 years ago
  • 0.6.10                                ...           3 years ago
  • 0.6.9                                ...           3 years ago
  • 0.6.8                                ...           3 years ago
  • 0.6.7                                ...           3 years ago
  • 0.6.6                                ...           3 years ago
  • 0.6.5                                ...           3 years ago
  • 0.6.3                                ...           3 years ago
  • 0.6.1                                ...           3 years ago
  • 0.1.3                                ...           3 years ago
  • 0.1.1                                ...           3 years ago
Maintainers (1)
Downloads
Total 1
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (2)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE