This is an experimental WYSIWYG editor. The goal is to achieve an immersive and concise editing environment.
Features:
Shortcut key / to show block menu.
Inline format menu when selected text.
Markdown-style formatted shortcut.
Code highlighting.
This project is developed based on ProseMirror and CodeMirror.
It has not been developed yet, and it is not recommended to use it in a production environment.
npm install @chloerei/rich-text-editor
or
yarn add @chloerei/rich-text-editor
HTML:
<div id="editor"></div>
JavaScript:
import { Editor } from "@chloerei/rich-text-editor"
import "@chloerei/rich-text-editor/dist/style.css"
new Editor(document.querySelector('#editor'))
Open issues in https://github.com/chloerei/rich-text-editor/issues
MIT license.