[GH-ISSUE #2590] [BUG]: Lack of Undo Functionality for Paste in Main Prompt Text Box #1679

Closed
opened 2026-02-22 18:26:01 -05:00 by yindo · 0 comments
Owner

Originally created by @MrSimonC on GitHub (Nov 5, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/2590

How are you running AnythingLLM?

Docker (local)

What happened?

Currently, when users enter text into the main prompt text box of Anything LLM, the undo functionality does not work after pasting text. When users press Ctrl+Z on Windows or Command+Z on Mac, the pasted text remains in the prompt box and cannot be undone. This forces users to manually delete the pasted text, which can be inconvenient and disrupts the workflow.

Environment:

  • Operating System: Windows (docker) and MacOS (desktop)
  • Application Version: v1.2.4

Possible Solution:
Investigate and implement proper handling of the undo operation for paste actions in the main prompt text box, ensuring that Ctrl+Z (Windows) and Command+Z (Mac) function as expected.

Additional Context:
This issue affects the user experience by adding unnecessary steps to correct mistakes or changes, which can hinder productivity.

Are there known steps to reproduce?

Steps to Reproduce:

  1. Open the main prompt text box in Anything LLM.
  2. Paste any text into the text box.
  3. Attempt to undo the paste action by pressing Ctrl+Z (Windows) or Command+Z (Mac).
  4. Observe that the pasted text remains and is not undone.

Expected Behavior:
Pressing Ctrl+Z (Windows) or Command+Z (Mac) should undo the paste operation and remove the pasted text from the main prompt text box.

Actual Behavior:
The pasted text stays in the prompt text box and is not undone, requiring manual deletion.

Originally created by @MrSimonC on GitHub (Nov 5, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/2590 ### How are you running AnythingLLM? Docker (local) ### What happened? Currently, when users enter text into the main prompt text box of Anything LLM, the undo functionality does not work after pasting text. When users press `Ctrl+Z` on Windows or `Command+Z` on Mac, the pasted text remains in the prompt box and cannot be undone. This forces users to manually delete the pasted text, which can be inconvenient and disrupts the workflow. **Environment:** - Operating System: Windows (docker) and MacOS (desktop) - Application Version: v1.2.4 **Possible Solution:** Investigate and implement proper handling of the undo operation for paste actions in the main prompt text box, ensuring that `Ctrl+Z` (Windows) and `Command+Z` (Mac) function as expected. **Additional Context:** This issue affects the user experience by adding unnecessary steps to correct mistakes or changes, which can hinder productivity. ### Are there known steps to reproduce? **Steps to Reproduce:** 1. Open the main prompt text box in Anything LLM. 2. Paste any text into the text box. 3. Attempt to undo the paste action by pressing `Ctrl+Z` (Windows) or `Command+Z` (Mac). 4. Observe that the pasted text remains and is not undone. **Expected Behavior:** Pressing `Ctrl+Z` (Windows) or `Command+Z` (Mac) should undo the paste operation and remove the pasted text from the main prompt text box. **Actual Behavior:** The pasted text stays in the prompt text box and is not undone, requiring manual deletion.
yindo added the possible bug label 2026-02-22 18:26:01 -05:00
yindo closed this issue 2026-02-22 18:26:01 -05:00
yindo changed title from [BUG]: Lack of Undo Functionality for Paste in Main Prompt Text Box to [GH-ISSUE #2590] [BUG]: Lack of Undo Functionality for Paste in Main Prompt Text Box 2026-06-05 14:42:06 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#1679