Skip to content

Commit

Permalink
feat: add alignment options to floating menu
Browse files Browse the repository at this point in the history
  • Loading branch information
sibiraj-s committed Feb 5, 2021
1 parent f40babb commit 3c0ed54
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/lib/modules/menu/floating-menu/floating-menu.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,16 @@ export class FloatingMenuComponent implements OnInit, OnDestroy {
get toolbar(): TBItems[][] {
return [
['bold', 'italic', 'underline', 'strike'],
['ordered_list', 'bullet_list', 'blockquote', 'code']
['ordered_list', 'bullet_list', 'blockquote', 'code'],
['align_left', 'align_center', 'align_right', 'align_justify']
];
}

get toggleCommands(): TBItems[] {
return [
'bold', 'italic', 'underline', 'strike',
'ordered_list', 'bullet_list', 'blockquote', 'code'
'ordered_list', 'bullet_list', 'blockquote', 'code',
'align_left', 'align_center', 'align_right', 'align_justify'
];
}

Expand Down

0 comments on commit 3c0ed54

Please sign in to comment.