Examples
Runnable examples live in the repo under examples/:
- declarative.html — declarative
<div data-ezr-editor>setup - programmatic.html — JS-driven setup with the
Editorclass - events.html —
ready,changeandselectionevents - advanced.html — community plugin with a custom element type and sidebar panel
Run them locally with the dev server:
bash
npm run dev # watch + dev server at http://localhost:8080/examples/Framework guides
- Embed in plain HTML — one script tag, zero build tools
- React integration — mount, clean up, and build custom toolbars
- Vue integration — composables and lifecycle-safe integration
Key patterns at a glance
| Goal | Where |
|---|---|
| Autosave & persistence | Recipes |
| Custom panels & element types | Extensibility |
| Brand fonts, palette, templates | Customization & registries |
| Headless rendering pipelines | Headless mode |