File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
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' , 'C ' )
187
+ this . setAttribute ( 'hotkey' , 'E ' )
188
188
}
189
189
}
190
190
Original file line number Diff line number Diff line change @@ -209,7 +209,7 @@ describe('markdown-toolbar-element', function () {
209
209
it ( 'does not codeblock selected text when using the lowercased hotkey' , function ( ) {
210
210
focus ( )
211
211
setVisualValue ( 'The |quick| brown fox jumps over the lazy dog' )
212
- pressHotkey ( 'c ' ) // lowercase `c ` instead of uppercase `C `
212
+ pressHotkey ( 'e ' ) // lowercase `e ` instead of uppercase `E `
213
213
assert . equal ( 'The |quick| brown fox jumps over the lazy dog' , visualValue ( ) )
214
214
} )
215
215
} )
@@ -629,7 +629,7 @@ describe('markdown-toolbar-element', function () {
629
629
it ( 'surrounds a line with backticks via hotkey' , function ( ) {
630
630
focus ( )
631
631
setVisualValue ( "|puts 'Hello, world!'|" )
632
- pressHotkey ( 'C ' )
632
+ pressHotkey ( 'E ' )
633
633
assert . equal ( "`|puts 'Hello, world!'|`" , visualValue ( ) )
634
634
} )
635
635
You can’t perform that action at this time.
0 commit comments