Firefox: Pressing Up arrow takes you two lines up, if cursor is at beginning of second line of paragraph #34215
Open
Description
opened on Aug 21, 2021
Description
In a multi-line paragraph, if the cursor is at the beginning of the second line, pressing Up takes you two lines up instead of one. (Gutenberg acts as if the cursor was still within the first line.)
Step-by-step reproduction instructions
- Edit a post with any block (quote, paragraph...) followed by a paragraph.
- Place the cursor at the second line of the following paragraph.
- Press the Up arrow key.
If the "following paragraph" is a quote instead, pressing Up will highlight the quote block (as if the cursor was on the first line) instead of moving the cursor to the first line.
Screenshots, screen recording, code snippet
wordpress.up.arrow.mp4
Environment info
- Version: Wordpress 5.8, built-in editor, Argon and 2021 theme. Also reproduced on https://wordpress.org/gutenberg/.
- Browser: Firefox and Edge
- Device: Laptop with Windows 10 x64
Pre-checks
- I have searched the existing issues.
- I have tested with all plugins deactivated except Gutenberg.
Activity