Skip to content

Commit

Permalink
feat(toolbar): Add ability to hide Undo and Redo buttons
Browse files Browse the repository at this point in the history
Closes #194
  • Loading branch information
kolkov committed Feb 13, 2020
1 parent f324dbb commit 15ced70
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
<div class="angular-editor-toolbar" *ngIf="showToolbar">
<div class="angular-editor-toolbar-set">
<button type="button" title="Undo" class="angular-editor-button" (click)="triggerCommand('undo')" tabindex="-1"><i
<button type="button" title="Undo" class="angular-editor-button" (click)="triggerCommand('undo')"
[hidden]="isButtonHidden('undo')" tabindex="-1"><i
class='fa fa-undo'></i></button>
<button type="button" title="Redo" class="angular-editor-button" (click)="triggerCommand('redo')" tabindex="-1"><i
<button type="button" title="Redo" class="angular-editor-button" (click)="triggerCommand('redo')"
[hidden]="isButtonHidden('redo')" tabindex="-1"><i
class='fa fa-repeat'></i></button>
</div>
<div class="angular-editor-toolbar-set">
Expand Down

0 comments on commit 15ced70

Please sign in to comment.