[PR #10134] [CLOSED] feat: Add CTRL+C Rich Text toggle in settings #22472

Closed
opened 2026-04-20 04:10:26 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/10134
Author: @DuckyBlender
Created: 2/16/2025
Status: Closed

Base: devHead: ctrl-c-rich-text-toggle


📝 Commits (2)

📊 Changes

2 files changed (+48 additions, -0 deletions)

View changed files

📝 src/lib/components/chat/Chat.svelte (+19 -0)
📝 src/lib/components/chat/Settings/Interface.svelte (+29 -0)

📄 Description

Changelog Entry

Description

  • Added a toggle option in the settings to allow users to choose between copying rich text or unformatted text when using CTRL+C in OpenWebUI. This addresses the issue where copying to Google Sheets clears formatting due to rich text.

Added

  • Added a new setting richTextCopy to toggle between copying rich text and unformatted text. This only affects CTRL+C.
  • Added a new UI element in the settings interface to control the richTextCopy option.

Changed

  • Modified the Chat.svelte component to handle the copy event based on the richTextCopy setting.

Fixed

  • Fixed the issue where copying to Google Sheets clears formatting by providing an option to copy unformatted text.

Security

  • No security-related changes were made.

Breaking Changes

  • None. This change is backward compatible and does not affect existing functionality.

Additional Information

  • This change addresses the feature request described in issue #10126
  • The new setting allows users to choose their preferred copy behavior using CTRL+C, while leaving the copy button behaviour.

Screenshots or Videos

https://github.com/user-attachments/assets/4a66b664-98c7-4310-a9c1-353a0fa9c21a


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/10134 **Author:** [@DuckyBlender](https://github.com/DuckyBlender) **Created:** 2/16/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `ctrl-c-rich-text-toggle` --- ### 📝 Commits (2) - [`f53880b`](https://github.com/open-webui/open-webui/commit/f53880b371f6d1d4751e1adb8e9282871f911ebd) Add CTRL+C Rich Text toggle in settings - [`b259356`](https://github.com/open-webui/open-webui/commit/b2593561f2a286193cf54459642e58a96a87d16d) Fix ### 📊 Changes **2 files changed** (+48 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/lib/components/chat/Chat.svelte` (+19 -0) 📝 `src/lib/components/chat/Settings/Interface.svelte` (+29 -0) </details> ### 📄 Description # Changelog Entry ### Description - Added a toggle option in the settings to allow users to choose between copying rich text or unformatted text when using CTRL+C in OpenWebUI. This addresses the issue where copying to Google Sheets clears formatting due to rich text. ### Added - Added a new setting `richTextCopy` to toggle between copying rich text and unformatted text. This only affects CTRL+C. - Added a new UI element in the settings interface to control the `richTextCopy` option. ### Changed - Modified the `Chat.svelte` component to handle the copy event based on the `richTextCopy` setting. ### Fixed - Fixed the issue where copying to Google Sheets clears formatting by providing an option to copy unformatted text. ### Security - No security-related changes were made. ### Breaking Changes - None. This change is backward compatible and does not affect existing functionality. --- ### Additional Information - This change addresses the feature request described in issue #10126 - The new setting allows users to choose their preferred copy behavior using CTRL+C, while leaving the copy button behaviour. ### Screenshots or Videos https://github.com/user-attachments/assets/4a66b664-98c7-4310-a9c1-353a0fa9c21a --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-20 04:10:26 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#22472