[GH-ISSUE #2423] [BUG]: Pasting with Ctrl+V does not override selected text, instead pastes at end of prompt (Regression in 1.2.3) #1573

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

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

Originally assigned to: @shatfield4 on GitHub.

How are you running AnythingLLM?

Docker (local)

What happened?

When using the Docker version 1.2.3 of Anything LLM, I am experiencing an issue with pasting text using Ctrl+V. If I select some text to correct halfway through my prompt and then attempt to paste using Ctrl+V, the selected text is not overridden and replaced. Instead, the selected text is unselected and the pasted text is inserted at the end of the prompt.

Regression:

This behavior worked as expected in version 1.2.2, where the selected text was correctly overridden and replaced with the pasted text. This issue appears to be a regression introduced in version 1.2.3.

Related pull request:

This issue appears to be related to changes made in pull request #2386.

Environment:

  • Anything LLM version: 1.2.3 (Docker)
  • Operating System: Windows 10 / WSL2 docker
  • Browser: MS Edge

Reproduction frequency:

100% of the time

Please let me know if you need any further information to reproduce and fix this regression!

image

image

Are there known steps to reproduce?

Steps to reproduce:

  1. Run Anything LLM using Docker version 1.2.3
  2. Enter a prompt and select some text to correct halfway through
  3. Copy some text to paste
  4. Press Ctrl+V to paste the text

Expected behavior:

The selected text should be overridden and replaced with the pasted text.

Actual behavior:

The selected text is unselected and the pasted text is inserted at the end of the prompt.

Originally created by @MrSimonC on GitHub (Oct 4, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/2423 Originally assigned to: @shatfield4 on GitHub. ### How are you running AnythingLLM? Docker (local) ### What happened? When using the Docker version 1.2.3 of Anything LLM, I am experiencing an issue with pasting text using Ctrl+V. If I select some text to correct halfway through my prompt and then attempt to paste using Ctrl+V, the selected text is not overridden and replaced. Instead, the selected text is unselected and the pasted text is inserted at the end of the prompt. **Regression:** This behavior worked as expected in version 1.2.2, where the selected text was correctly overridden and replaced with the pasted text. This issue appears to be a regression introduced in version 1.2.3. **Related pull request:** This issue appears to be related to changes made in pull request #2386. **Environment:** * Anything LLM version: 1.2.3 (Docker) * Operating System: Windows 10 / WSL2 docker * Browser: MS Edge **Reproduction frequency:** 100% of the time Please let me know if you need any further information to reproduce and fix this regression! ![image](https://github.com/user-attachments/assets/75dee458-9ecb-46c2-8719-21487a94340f) ![image](https://github.com/user-attachments/assets/579bf5b5-bf65-436b-b978-4b6e79b6c926) ### Are there known steps to reproduce? **Steps to reproduce:** 1. Run Anything LLM using Docker version 1.2.3 2. Enter a prompt and select some text to correct halfway through 3. Copy some text to paste 4. Press Ctrl+V to paste the text **Expected behavior:** The selected text should be overridden and replaced with the pasted text. **Actual behavior:** The selected text is unselected and the pasted text is inserted at the end of the prompt.
yindo added the possible bug label 2026-02-22 18:25:28 -05:00
yindo closed this issue 2026-02-22 18:25:28 -05:00
yindo changed title from [BUG]: Pasting with Ctrl+V does not override selected text, instead pastes at end of prompt (Regression in 1.2.3) to [GH-ISSUE #2423] [BUG]: Pasting with Ctrl+V does not override selected text, instead pastes at end of prompt (Regression in 1.2.3) 2026-06-05 14:41:31 -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#1573