File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Expand file tree Collapse file tree 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 {
184184
185185 connectedCallback ( ) {
186186 super . connectedCallback ( )
187- this . setAttribute ( 'hotkey' , 'E ' )
187+ this . setAttribute ( 'hotkey' , 'e ' )
188188 }
189189}
190190
Original file line number Diff line number Diff line change @@ -205,13 +205,6 @@ describe('markdown-toolbar-element', function () {
205205 pressHotkey ( 'B' ) // capital `B` instead of lowercase `b`
206206 assert . equal ( 'The |quick| brown fox jumps over the lazy dog' , visualValue ( ) )
207207 } )
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- } )
215208 } )
216209
217210 describe ( 'bold' , function ( ) {
@@ -629,7 +622,7 @@ describe('markdown-toolbar-element', function () {
629622 it ( 'surrounds a line with backticks via hotkey' , function ( ) {
630623 focus ( )
631624 setVisualValue ( "|puts 'Hello, world!'|" )
632- pressHotkey ( 'E ' )
625+ pressHotkey ( 'e ' )
633626 assert . equal ( "`|puts 'Hello, world!'|`" , visualValue ( ) )
634627 } )
635628
You can’t perform that action at this time.
0 commit comments