platform icon indicating copy to clipboard operation
platform copied to clipboard

Fix undo & paste keyboard shortcuts

Open AbigailDawson opened this issue 1 year ago • 3 comments

Summary

When using Ctrl/Cmd + Z and Ctrl/Cmd + V, the focus does not change to where the action took place

Steps to reproduce:

  1. Open a document
  2. Type something at the bottom of the document
  3. Scroll to top of document and place cursor near the top
  4. Press Cmd + Z

Actual Result

The action is applied but the focus does not go to where the action takes place

Expected Result

The page should jump to wherever the action took place (undo or paste)

AbigailDawson avatar Jan 29 '25 03:01 AbigailDawson

Connected to Huly®: UBERF-9276

huly-github-staging avatar Jan 29 '25 03:01 huly-github-staging

I proposed a partial fix in Platform-Collective/platform#207, the actively maintained continuation of this repository. It covers the paste part (the editor now scrolls to the pasted content); the undo selection problem comes from the collaboration library and is not covered.

MichaelUray avatar Oct 23 '26 17:10 MichaelUray

Follow-up: the paste part is merged in Platform-Collective/platform#207 (the editor scrolls to the pasted content). Revealing the change after undo and redo is part of Platform-Collective/platform#282, which is still under review.

MichaelUray avatar Nov 11 '26 05:11 MichaelUray