Triggering Undo (Ctrl + Z) in Paragraph with inline formatting can move cursor unexpectedly #3524
Labels
Needs Decision
Needs a decision to be actionable or relevant
[Type] Bug
An existing feature does not function as intended
Milestone
Issue Overview
The caret representing where the user is typing is being reset back to the start of the block when triggering an undo inside a paragraph (Editable) if there are inline formatting elements (bold etc.). If you press Undo again, it often goes back to the right location.
Note, this is a TinyMCE bug. We will log it in the system, and let you know when it is fixed.
Steps to Reproduce (for bugs)
Note, if on a Mac, use Cmd instead of Ctrl.
Expected Behavior
The cursor moves to just after the last word typed in the history.
Current Behavior
The cursor jumps back to the start of the block on the first undo, then to the right place on the second undo, then to the start of the block on the third undo etc.
Possible Solution
This will be solved inside TinyMCE's undo manager and caret positioning code.
The text was updated successfully, but these errors were encountered: