Neutralize Pesky Miscreants

    arch-editor

    1.0.1-beta.19 • Public • Published

    ArchEditor

    Rich text editor with customizable layout

    Documention

    简体中文 | English

    Software Architecture

    • Use React.js
    • Based on Draft.js

    Installation

    npm install arch-editor --save

    Usage

    import React from 'react';
    import ReactDOM from 'react-dom';
    import 'arch-editor/dist/arch-editor.css';
    import { ArchEditor, BlockToolbar, ArchEditorProvider } from 'arch-editor';
    
    function App() {
      return (
        <ArchEditorProvider>
          <BlockToolbar />
          <ArchEditor placeholder="Please enter text." showInlineToolbar />
        </ArchEditorProvider>;
      );
    }
    
    ReactDOM.render(<App />,document.getElementById('root'));

    Install

    npm i arch-editor

    DownloadsWeekly Downloads

    27

    Version

    1.0.1-beta.19

    License

    MIT

    Unpacked Size

    3.96 MB

    Total Files

    183

    Last publish

    Collaborators

    • longlongago2