Light Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

How to copy text in rtf instead of html #3155

yunionlassalle started this conversation in General
How to copy text in rtf instead of html #3155
Sep 4, 2025 * 1 comment
Return to top
Discussion options

yunionlassalle
Sep 4, 2025

I'm trying to store a text with rtf format but instead is stored with html. How can i change this beahavior? I attached my config and is already marked the item save html and rich edit but only html is saving

You must be logged in to vote

Replies: 1 comment

Comment options

hluk
Sep 5, 2025
Maintainer

You can add the following command to instruct the app to store text/rtf if available (here is how to add the command to CopyQ):

[Command]
Command="
const clipboardFormatsToSave_ = clipboardFormatsToSave;
clipboardFormatsToSave = function() {
return clipboardFormatsToSave_().concat(['text/rtf'])
}"
IsScript=true
Name=Store RTF
You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
General
Labels
None yet
2 participants