in

Rich text editor with a high degree of customization


ArchEditor

Rich text editor with customizable layout

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'));


Leave a Reply

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

GIPHY App Key not set. Please check settings

Oracle Cloud VPS VNC Console Connection

Pretty tornado wrapper for making lightweight REST API services