[COMPASS-4883] CTRL+Z does not work in code editor in Insert document window if selected deleted Created: 16/Jun/21  Updated: 27/Oct/23  Resolved: 19/Jun/23

Status: Closed
Project: Compass
Component/s: Documents
Affects Version/s: 1.26.1
Fix Version/s: 1.37.0

Type: Bug Priority: Minor - P4
Reporter: Витя Чел Assignee: Unassigned
Resolution: Gone away Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

OS:
node.js / npm versions:
Additional info:


Attachments: PNG File image-2021-06-16-17-58-28-999.png     PNG File image-2021-06-16-17-58-35-757.png     PNG File image-2021-06-16-17-59-51-350.png     PNG File image-2021-06-16-18-01-04-305.png    
Story Points: 5
Documentation Changes: Not Needed

 Description   

Steps to Reproduce

  1. Go to collection's documents view
  2. Click on Add Data -> Insert document 
  3. Select anything!
  4. If you paste text, selected text will be deleted but cannot be returned back by pressing ctrl+z

Expected Results

Instead of returning previous text back, cursor is set to starting position



 Comments   
Comment by Rhys Howell [ 19/Jun/23 ]

This is fixed with the codemirror updates in Compass. Thanks for reporting the issue!

Generated at Wed Feb 07 22:37:43 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.