Undo in Title or Tagline block positions caret at start of field #64724
Labels
[Block] Post Title
Affects the Post Title Block
[Block] Site Tagline
Affects the Site Tagline Block
[Type] Bug
An existing feature does not function as intended
Description
After Undo (Cmd+z) of a paste in the Title or Tagline block, the caret is (visually) positioned at the start of the field. However, subsequently pasted text is inserted at the end of the field, which is not expected based on caret position.
Expected behavior after Undo would be for:
In testing a related issue, #64665, @Mamaduka also indicated:
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Demonstration of pasting text and resultant caret position. After Undo of paste caret appears to be at front but pastes at the end of the field.
Environment info
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
The text was updated successfully, but these errors were encountered: