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.
🔄 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>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/10134
Author: @DuckyBlender
Created: 2/16/2025
Status: ❌ Closed
Base:
dev← Head:ctrl-c-rich-text-toggle📝 Commits (2)
f53880bAdd CTRL+C Rich Text toggle in settingsb259356Fix📊 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
richTextCopyto toggle between copying rich text and unformatted text. This only affects CTRL+C.richTextCopyoption.Changed
Chat.sveltecomponent to handle the copy event based on therichTextCopysetting.Fixed
Security
Breaking Changes
Additional Information
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.