Quick Toolbars
Plugin alias: quickbars
editor42.init({
plugins: 'quickbars'
});
Provides floating context toolbars that appear automatically based on the user's selection or cursor position. Three distinct toolbars: one for text selection (formatting shortcuts), one on empty block-level lines (insert shortcuts), and one on selected images (alignment controls). Also registers quickimage (native file picker for image insertion) and quicktable (one-click 2x2 table insert) buttons.
Options
| Option | Type | Default | Description |
|---|---|---|---|
quickbars_selection_toolbar | string/boolean | 'bold italic | quicklink h2 h3 blockquote' | Items for text selection toolbar; false or empty string to disable. |
quickbars_insert_toolbar | string/boolean | 'quickimage quicktable' | Items for empty-line toolbar. |
quickbars_image_toolbar | string/boolean | 'alignleft aligncenter alignright' | Items for image toolbar. |
Toolbar buttons
| Button | Type | Description |
|---|---|---|
quickimage | Button | Insert image via native file picker. |
quicktable | Button | Insert 2x2 table. |