Skip to content

Commit

Permalink
feat(align): added clear option to text align widget
Browse files Browse the repository at this point in the history
  • Loading branch information
ichim-david committed Sep 23, 2022
1 parent 928339f commit 1381793
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Widgets/TextAlign.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@ import alignLeftSVG from '@plone/volto/icons/align-left.svg';
import alignRightSVG from '@plone/volto/icons/align-right.svg';
import alignJustifySVG from '@plone/volto/icons/align-justify.svg';
import alignCenterSVG from '@plone/volto/icons/align-center.svg';
import clearSVG from '@plone/volto/icons/clear.svg';

const VALUE_MAP = [
['left', alignLeftSVG],
['right', alignRightSVG],
['center', alignCenterSVG],
['justify', alignJustifySVG],
['', clearSVG],
];

export default (props) => {
Expand Down

0 comments on commit 1381793

Please sign in to comment.