Lexical is an extensible text editor framework that provides excellent reliability, accessibility and performance.
Website
Playground
https://playground.lexical.dev/
Docs
https://lexical.dev/docs/intro
Syntax
<LexicalComposer initialConfig={editorConfig}>
<div className="editor-container">
<PlainTextPlugin
contentEditable={<ContentEditable className="editor-input" />}
placeholder={<Placeholder />}
ErrorBoundary={LexicalErrorBoundary}
/>
<OnChangePlugin onChange={onChange} />
<HistoryPlugin />
<TreeViewPlugin />
<EmoticonPlugin />
<MyCustomAutoFocusPlugin />
</div>
</LexicalComposer>