# Undo text cut does not work when using keyboard shortcut command+x

**URL:** <https://discourse.joplinapp.org/t/undo-text-cut-does-not-work-when-using-keyboard-shortcut-command-x/41546>\
**Category:** Support\
**Created:** [24 October 2024 19:12 UTC](https://discourse.joplinapp.org/t/undo-text-cut-does-not-work-when-using-keyboard-shortcut-command-x/41546 "2024-10-24T19:12:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dougbland](https://avatars.discourse-cdn.com/v4/letter/d/db5fbb/32.png) [@dougbland](https://discourse.joplinapp.org/u/dougbland)\
**Post date:** [24 October 2024 19:12 UTC](https://discourse.joplinapp.org/t/undo-text-cut-does-not-work-when-using-keyboard-shortcut-command-x/41546/1 "2024-10-24T19:12:18Z")

</div>

### Operating system

macOS

### Joplin version

3.1.20

### Desktop version info

Joplin 3.1.20 (prod, darwin)

Client ID: 4e716bdd72344d159ea6991d7a99f76b  
Sync Version: 3  
Profile Version: 47  
Keychain Supported: Yes

Revision: 8199362

Backup: 1.4.2

### Editor

Markdown Editor

### What issue do you have?

A user cannot undo (command+Z) a text cut (command+x). This only happens with keyboard shortcut. It does work if you select edit/cut with the mouse.

I noticed this issue months ago when I cut text to move it to a new note and accidently selected (command+x) again at my target location. The text is lost all together. Can not undo the cut from the original location and cut again.

I finally decided to test why this happened and realized this only occurs when using the keyboard shortcut to cut.

Step to recreate:

1. write text
2. highlight the text and select command+x
3. select undo or type anything and hit undo back to where you cut  
results: it will undo actions up to and past the command+x, but will not undo the cut.

once again, this does work correctly if a user selects edit/cut from the menu.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/3X/1/c/1c948e33314e232a0927789508474d8624f4270b.png) [@system](https://discourse.joplinapp.org/u/system)\
**Post date:** [23 November 2024 19:13 UTC](https://discourse.joplinapp.org/t/undo-text-cut-does-not-work-when-using-keyboard-shortcut-command-x/41546/2 "2024-11-23T19:13:16Z")

</div>

Closed on 23 November 2024 19:13 UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
