# SigPro Editor A minimalist, ultra-lightweight WYSIWYG editor for SigPro. ## Features * **Tiny footprint** - No heavy dependencies (only SigPro). * **Reactive** - Built-in support for SigPro signals. * **Media Support** - Drag & drop images and file attachments. * **Code View** - Toggle between rich text and raw HTML. * **DaisyUI Ready** - Styled with Tailwind CSS and DaisyUI classes. ## Installation ```bash npm install sigpro-editor ``` ## Quick Start ```javascript import { $ } from "sigpro"; import { Editor } from "sigpro-editor"; const content = $("
Hello World
"); const myApp = () => div([ Editor({ value: content, onchange: (html) => content(html), class: "my-4 shadow-lg" }) ]); ``` ## API ### Props | Prop | Type | Description | | --- | --- | --- | | `value` | `string | Signal