Skip to content

Commit b9e64fb

Browse files
committed
Changed ordered list hotkey from 9 to 7
1 parent 045a363 commit b9e64fb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ class MarkdownOrderedListButtonElement extends MarkdownButtonElement {
251251
}
252252
connectedCallback() {
253253
super.connectedCallback()
254-
this.setAttribute('hotkey', '9')
254+
this.setAttribute('hotkey', '7')
255255
this.setAttribute('hotkey-requires-shift', 'true')
256256
}
257257
}

test/test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -566,9 +566,9 @@ describe('markdown-toolbar-element', function () {
566566

567567
it('turns multiple lines into ordered list via hotkey, requiring shift', function () {
568568
setVisualValue('One\n|Two\nThree|\n')
569-
pressHotkey('9', false)
569+
pressHotkey('7', false)
570570
assert.equal('One\n|Two\nThree|\n', visualValue())
571-
pressHotkey('9', true)
571+
pressHotkey('7', true)
572572
assert.equal('One\n\n|1. Two\n2. Three|\n', visualValue())
573573
})
574574

0 commit comments

Comments
 (0)