Skip to content

Commit c2b4665

Browse files
authored
Merge pull request #48 from github/ol-hotkey-7
Changed ordered list hotkey from 9 to 7
2 parents b9148f9 + b3c45e5 commit c2b4665

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ class MarkdownOrderedListButtonElement extends MarkdownButtonElement {
252252
}
253253
connectedCallback() {
254254
super.connectedCallback()
255-
this.setAttribute('hotkey', '9')
255+
this.setAttribute('hotkey', '7')
256256
this.setAttribute('hotkey-requires-shift', 'true')
257257
}
258258
}

Diff for: test/test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -568,9 +568,9 @@ describe('markdown-toolbar-element', function () {
568568

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

0 commit comments

Comments
 (0)