Skip to content

Commit

Permalink
fix: set button disabled state
Browse files Browse the repository at this point in the history
  • Loading branch information
sibiraj-s committed May 13, 2024
1 parent b2a18e0 commit 825791e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<button
class="NgxEditor__MenuItem--IconContainer"
[disabled]="disabled"
[class.NgxEditor--Disabled]="disabled"
[innerHTML]="html | sanitizeHtml"
(mousedown)="insert($event)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
class="NgxEditor__MenuItem--IconContainer"
[class.NgxEditor__MenuItem--Active]="isActive"
[class.NgxEditor--Disabled]="disabled"
[disabled]="disabled"
[innerHTML]="html | sanitizeHtml"
(mousedown)="toggle($event)"
[title]="getTitle(name) | async"
Expand Down

0 comments on commit 825791e

Please sign in to comment.