@sumx/sumx-editor
SunEditor-based rich text for SumX ERP: SumXEditor, RichTextContent, merge-field variables, image crop hook, and shared HTML sanitization.
Version: see packages/sumx-editor/package.json (portal feed: 0.1.0).
Deep documentation
| Page | Topic |
|---|---|
| Overview | Install, architecture, quick start |
| Portal integration | Next.js, styles, forms |
| Configuration | Toolbar, variables, images |
| Package API | Props, ref, exports |
| Security | DOMPurify, XSS |
| Troubleshooting | SSR, styles, versions |
Depends on
@sumx/ui≥ 0.1.2 (Button,Dialog,Input,DropdownMenu,Slider)suneditor^3.1 (peer)react-easy-crop(peer, crop hook)
Build
pnpm --filter @sumx/sumx-editor run build
pnpm --filter @sumx/sumx-editor test