Skip to main content

Alignment

The alignment plugin enables support for text alignment. You can use it to align your content to left, right, center or to justify it.

Installation#

npm install @udecode/plate-alignment
npm install @udecode/plate-ui-alignment

Usage#

Click inside a paragraph or a header and click on a toolbar button to apply the desired text alignment.

Live Editor
Result

Source Code#