Skip to content

Commit bf0fde1

Browse files
keithamusmuan
andauthored
fix: remove MarkDownButtonElement instance check
Co-Authored-By: Mu-An 慕安 <[email protected]>
1 parent fc01316 commit bf0fde1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,6 @@ function focusKeydown(toolbar: MarkdownToolbarElement, event: KeyboardEvent) {
269269

270270
const buttons = []
271271
for (const button of toolbar.querySelectorAll('[data-md-button]')) {
272-
if (!(button instanceof MarkdownButtonElement)) continue
273272
button.setAttribute('tabindex', '-1')
274273
buttons.push(button)
275274
}

0 commit comments

Comments
 (0)