@hife/rich-editor
TypeScript icon, indicating that this package has built-in type declarations

0.7.0 • Public • Published

rich-editor 基于 React 的富文本编辑器

更新日志

更新日志

安装

npm install @hife/rich-editor

or

yarn add @hife/rich-editor

使用

import RichEditor from '@hife/rich-editor';
import '@hife/rich-editor/styles/rich-editor.css';

const App = () => {
  return <RichEditor
    defaultValue={value}
    max={100}
    onChange={(html: string, text: string) => saveValue(html)}
  />;
};

export default App;

文档

文档

/@hife/rich-editor/

    Package Sidebar

    Install

    npm i @hife/rich-editor

    Weekly Downloads

    0

    Version

    0.7.0

    License

    MIT

    Unpacked Size

    490 kB

    Total Files

    43

    Last publish

    Collaborators

    • hileix
    • sialvsic
    • winds
    • xiangsai.huang