File tree 2 files changed +2
-9
lines changed
2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -184,7 +184,7 @@ class MarkdownCodeButtonElement extends MarkdownButtonElement {
184
184
185
185
connectedCallback ( ) {
186
186
super . connectedCallback ( )
187
- this . setAttribute ( 'hotkey' , 'E ' )
187
+ this . setAttribute ( 'hotkey' , 'e ' )
188
188
}
189
189
}
190
190
Original file line number Diff line number Diff line change @@ -205,13 +205,6 @@ describe('markdown-toolbar-element', function () {
205
205
pressHotkey ( 'B' ) // capital `B` instead of lowercase `b`
206
206
assert . equal ( 'The |quick| brown fox jumps over the lazy dog' , visualValue ( ) )
207
207
} )
208
-
209
- it ( 'does not codeblock selected text when using the lowercased hotkey' , function ( ) {
210
- focus ( )
211
- setVisualValue ( 'The |quick| brown fox jumps over the lazy dog' )
212
- pressHotkey ( 'e' ) // lowercase `e` instead of uppercase `E`
213
- assert . equal ( 'The |quick| brown fox jumps over the lazy dog' , visualValue ( ) )
214
- } )
215
208
} )
216
209
217
210
describe ( 'bold' , function ( ) {
@@ -629,7 +622,7 @@ describe('markdown-toolbar-element', function () {
629
622
it ( 'surrounds a line with backticks via hotkey' , function ( ) {
630
623
focus ( )
631
624
setVisualValue ( "|puts 'Hello, world!'|" )
632
- pressHotkey ( 'E ' )
625
+ pressHotkey ( 'e ' )
633
626
assert . equal ( "`|puts 'Hello, world!'|`" , visualValue ( ) )
634
627
} )
635
628
You can’t perform that action at this time.
0 commit comments