Skip to content

Commit

Permalink
Merge pull request #2 from quilljs/develop
Browse files Browse the repository at this point in the history
Restore focus on cancel (slab#3780)
  • Loading branch information
cmaai authored Jul 27, 2023
2 parents 2f0da23 + 837e4c9 commit 6c2098a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions themes/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ class BaseTooltip extends Tooltip {

cancel() {
this.hide();
this.restoreFocus();
}

edit(mode = 'link', preview: string | null = null) {
Expand Down

0 comments on commit 6c2098a

Please sign in to comment.