NabuEditor
Component Stability: stable
The contenteditable root: renders the document of an editor and wires every event to the engine.
Related guide: Your first editor →
Usage
Svelte
<script>
import { NabuEditor } from '@aionbuilders/nabu';
</script>
<NabuEditor />Props
| Prop | Type | Default | Description |
|---|---|---|---|
engineoptional | Nabu | new Nabu() | The editor this component works on (a |
labeloptional | string | n/a | the accessible name of the editor ( |
labelledbyoptional | string | n/a | the id of the element that names it ( |
readonlyoptional | boolean | n/a | show the document without letting anyone edit it. Reactive (toggle it live). When omitted, the editor follows |
Source: src/lib/blocks/Nabu.svelte