Adds text alignment buttons (left, center, right) to the Kirby Writer field.
- Run
composer require josehoudini/kirby-writer-textalign
or
- Download the .zip
- Copy the folder into
/site/plugins/kirby-writer-textalign
- The plugin automatically adds alignment buttons to all Writer fields:
fields:
text:
type: writer
marks:
- align-left
- align-center
- align-right- Define your css classes:
.align-left { text-align: left; }
.align-center { text-align: center; }
.align-right { text-align: right; }