josehoudini/kirby-writer-textalign

Adds text alignment buttons to the Kirby Writer field.

Installs: 7

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Language:JavaScript

Type:kirby-plugin

pkg:composer/josehoudini/kirby-writer-textalign

0.3.4 2025-12-04 20:53 UTC

This package is auto-updated.

Last update: 2025-12-05 10:05:41 UTC


README

Adds text alignment buttons (left, center, right) to the Kirby Writer field.

Installation

Download

  1. Run composer require josehoudini/kirby-writer-textalign

or

  1. Download the .zip
  2. Copy the folder into /site/plugins/kirby-writer-textalign

Usage

  1. The plugin automatically adds alignment buttons to all Writer fields:
fields:
  text:
    type: writer
    marks:
      - align-left
      - align-center
      - align-right
  1. Define your css classes:
.align-left { text-align: left; }
.align-center { text-align: center; }
.align-right { text-align: right; }