https://github.com/longlongago2/arch-editor
Rich text editor with a high degree of customization
https://github.com/longlongago2/arch-editor
draft-js editor react rich-text-editor
Last synced: 12 months ago
JSON representation
Rich text editor with a high degree of customization
- Host: GitHub
- URL: https://github.com/longlongago2/arch-editor
- Owner: longlongago2
- License: mit
- Created: 2021-08-24T01:20:03.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-09-13T01:17:40.000Z (over 4 years ago)
- Last Synced: 2025-04-15T08:48:56.249Z (about 1 year ago)
- Topics: draft-js, editor, react, rich-text-editor
- Language: JavaScript
- Homepage: https://longlongago2.github.io/arch-editor/index.html
- Size: 491 KB
- Stars: 7
- Watchers: 1
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ArchEditor
Rich text editor with customizable layout
## Documention
[简体中文](README.zh.md) | [English](README.md)
## Software Architecture
- Use React.js
- Based on Draft.js
## Installation
`npm install arch-editor --save`
#### Usage
```js
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 (
;
);
}
ReactDOM.render(,document.getElementById('root'));
```