@spezutil/richtext-editor-react
v0.2.2
Published
React wrapper for the SpezUtil rich-text editor Web Component.
Downloads
368
Readme
@spezutil/richtext-editor-react
React wrapper for @spezutil/richtext-editor — a rich-text editor Web Component for Arabic / Lisan-ud-Dawat content built on Lexical.
Install
npm install @spezutil/richtext-editor-reactUsage
import { SpezRichtext } from "@spezutil/richtext-editor-react";
export function Editor() {
return (
<SpezRichtext
placeholder="Start writing…"
locale="ar"
onChange={(e) => save(e.detail.json)}
/>
);
}All attributes, properties, events, and theming options are documented in the core package README.
License
Apache-2.0
