API Reference
Feature Flags
Every toolbar feature is a boolean flag. Angular, Vue, and Vanilla default to all-on; React defaults to all-off.
Feature Flags
All flags are booleans. In Angular, Vue, and Vanilla they default to true (all features
on). In React they default to false (opt-in). Pass false to remove a feature and its
toolbar controls.
Turning a feature off, per framework (here: the table feature):
| Framework | Syntax |
|---|---|
| Angular | <atelier-editor [table]="false"> |
| React | leave it out of your feature object, or pass table={false} |
| Vue | <AtelierEditor :table="false"> |
| Vanilla | new AtelierEditor('#mount', { table: false }) |
| Flag | What it enables |
|---|---|
starterKit | Core editor engine: paragraphs, history (undo/redo), hard breaks. Leave true unless building a bare-bones custom configuration. |
bold | Bold mark |
italic | Italic mark |
underline | Underline mark |
strike | Strikethrough mark |
code | Inline code mark |
color | Text color picker |
highlight | Background highlight color picker (multi-color) |
fontFamily | Font family dropdown |
fontSize | Font size dropdown |
lineHeight | Line height dropdown |
subscript | Subscript mark |
superscript | Superscript mark |
heading | Headings H1–H6 |
blockquote | Block quote element |
bulletList | Unordered list |
orderedList | Ordered list |
indent | Indent / outdent controls |
horizontalRule | Horizontal divider line |
textAlign | Left / center / right / justify alignment |
image | Image insertion (URL or file upload) with drag-resize handles |
youtube | YouTube embed via URL with drag-resize handles |
table | 3×3 table insertion; contextual add/delete row, add/delete column, merge/split cell controls |
typography | Smart typography substitutions (arrows, quotes, fractions, …) |
exportPdf | Shows the Export PDF toolbar button. Toggling it off only hides the button — the programmatic exportPDF() method works regardless. |
Always available regardless of flags: undo/redo, clear formatting, special-characters palette, HTML source view, fullscreen, and the dark-mode toggle.
