Alignment
Usage
import { availablePlugins } from "@inkstream/starter-kit"
<RichTextEditor
plugins={[availablePlugins.alignment]}
toolbarLayout={['alignLeft', 'alignCenter', 'alignRight', 'alignJustify']}
/>The alignment plugin provides a dropdown with Left, Center, Right, and Justify options.
Keyboard shortcuts
| Alignment | Shortcut |
|---|---|
| Left | Mod-Shift-l |
| Center | Mod-Shift-e |
| Right | Mod-Shift-r |
| Justify | Mod-Shift-j |