[wp-trac] [WordPress Trac] #36460: Unable to break out of code tags in visual mode when using keyboard navigation
WordPress Trac
noreply at wordpress.org
Sun Apr 10 10:28:47 UTC 2016
#36460: Unable to break out of code tags in visual mode when using keyboard
navigation
--------------------------+-------------------
Reporter: Clorith | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.5
Component: Editor | Version: trunk
Severity: normal | Keywords:
Focuses: javascript |
--------------------------+-------------------
If you've entered the backtick shortcut to add a `<code>` tag as the last
bit of text in the editor, and then use the keyboard to navigate around in
the text (say to fix a typo earlier on), going to the end of the document
either by keyboard navigation or clicking the end with the mouse puts you
inside the code tag and it can't be broken out of unless you hit return to
create a new paragraph.
If you create a new paragraph then try to backspace to remove it again you
are once more put inside the code tag, the only way to break this is by
going into text mode and adding any symbol that isn't a space after the
code tag manually.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36460>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list