How do i paste text as raw text? #7049
-
When i copy text from discord, it's fine, but when i copy commands from linux cli, it becomes white, and i want to neutralize that. ![]() |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You can paste text as raw/plain text in Trilium Notes by using Ctrl+Shift+V instead of the regular paste shortcut. This strips out any formatting, so commands copied from the Linux CLI won’t appear white or have unwanted styles. You can also right-click and select "Paste as plain text" from the context menu if you prefer mouse actions. This works because Trilium’s editor (CKEditor) sometimes preserves formatting from rich text sources, which can cause color changes or highlights when pasting from terminals or other apps. If you still see formatting after pasting, pressing Ctrl+Z will undo any autoformatting applied by the editor. There’s no built-in setting to always paste as plain text, but using this shortcut or cleaning up text in an external editor (like Notepad++ or VS Code) before pasting are reliable workarounds. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
Ctrl+Shift+V can paste as plain text. |
Beta Was this translation helpful? Give feedback.
Ctrl+Shift+V can paste as plain text.