[wp-trac] [WordPress Trac] #36459: Inconsistent triggering of backtick shortcut for code tags

WordPress Trac noreply at wordpress.org
Sun Apr 10 18:40:53 UTC 2016


#36459: Inconsistent triggering of backtick shortcut for code tags
--------------------------+-------------------------
 Reporter:  Clorith       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.5
Component:  Editor        |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  javascript
--------------------------+-------------------------

Comment (by Clorith):

 Replying to [comment:4 jeremyfelt]:
 > I can consistently reproduce this in Chrome 49.0.2623.112 and Firefox
 45.0.1 in OSX if I very quickly hit the spacebar immediately after the
 closing backtick.
 >
 > {{{
 > <body id="tinymce" class="mce-content-body content post-type-post post-
 status-draft post-format-standard locale-en-us mceContentBody webkit wp-
 editor wp-autoresize html5-captions has-focus" data-id="content"
 contenteditable="true" style="overflow-y: hidden;">
 >     <p>`the spacebar was hit very quickly after this closing
 backtick` </p>
 > </body>
 > }}}
 You are quite right, if I hit the buttons fast enough, as in practically
 at the same time, I can trigger the code block consistently every time.

 This is a bit awkward though (at least on a Norwegian keyboard) as the
 backtick is a shift-key combination to access to begin with (and this
 should perhaps be a pattern recognition, not a timing dependent one?)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36459#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list