Skip to content

Commit 4171188

Browse files
committed
feat(suneditor): allow to change font size in toolbars
1 parent 5eb4b27 commit 4171188

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/WysiwygEditor/SunEditor.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public static function getType(): string
2525
public function getMinimalButtons(): array
2626
{
2727
return [
28-
['bold', 'italic', 'underline', 'list', 'formatBlock', 'link', 'horizontalRule'],
28+
['bold', 'italic', 'underline', 'list', 'fontSize', 'formatBlock', 'link', 'horizontalRule'],
2929
['fullScreen', 'showBlocks', 'codeView'],
3030
];
3131
}
@@ -37,7 +37,7 @@ public function getBasicButtons(): array
3737
['bold', 'underline', 'italic', 'strike'],
3838
['fontColor', 'hiliteColor'],
3939
['removeFormat'],
40-
['align', 'horizontalRule', 'list'],
40+
['align', 'horizontalRule', 'list', 'fontSize'],
4141
['outdent', 'indent'],
4242
['table', 'link'],
4343
['fullScreen', 'showBlocks', 'codeView'],

0 commit comments

Comments
 (0)