Skip to content

Commit

Permalink
Add support for aligning text to the left
Browse files Browse the repository at this point in the history
  • Loading branch information
nadar committed Mar 13, 2024
1 parent 2f784e0 commit a708164
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.

This project adheres to [Semantic Versioning](http://semver.org/).

## 3.4.1 (13. March 2024)

+ [#84](https://github.com/nadar/quill-delta-parser/issues/84) Allow align `left` as possible value.

## 3.4.0 (14. September 2023)

> Please be aware that this release may impact the way Quill data is displayed in your frontend. Checkout the [upgrade document](UPGRADE.md) for more details.
Expand Down
2 changes: 1 addition & 1 deletion src/listener/Align.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Align extends BlockListener
/**
* @var array<string> Supported alignments.
*/
public $alignments = ['center', 'right', 'justify'];
public $alignments = ['center', 'right', 'justify', 'left'];

/**
* {@inheritDoc}
Expand Down

0 comments on commit a708164

Please sign in to comment.