TriliumNext applies automatic indentation to all notes ! #7261
-
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 1 reply
-
|
There isn't currently a way to fully disable auto-indentation or autoformatting in TriliumNext notes. The indentation you see is managed by the CKEditor editor, which applies formatting based on block elements (like lists or block quotes) and CSS, sometimes regardless of your note settings. This is why disabling indentation in the note settings doesn't always remove the effect. If you want to avoid all autoformatting (including indentation), you can use the "Code note" type, which is plaintext and doesn't apply these styles. For regular notes, you can sometimes undo unwanted formatting with Ctrl-Z, but there's no global off switch for auto-indentation right now. The user guide notes look different because they're rendered as static HTML or Markdown, not through the same editor pipeline as regular notes, so they don't show the same indentation or formatting quirks. More details and discussion can be found here. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
|
There isn't currently a way to fully disable auto-indentation in TriliumNext notes. The indentation is managed by the CKEditor editor, which applies formatting based on block elements (like lists or block quotes) and CSS, sometimes regardless of your note settings. That's why disabling indentation in the note settings doesn't always remove the effect. If you want to avoid all autoformatting (including indentation), you can use the "Code note" type, which is plaintext and doesn't apply these styles. The user guide notes look different because they're rendered as static HTML or Markdown, not through the same editor pipeline as regular notes, so they don't show the same indentation or formatting quirks. More details and discussion can be found here. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
|
@DrakeDrole , there is no built-in indentation in text notes. Does it happen for all your notes or only that particular note? If you copy-and-pasted the text from somewhere, it might have carried over the indentation (case in which you can remove the formatting). Also, please update to the latest version. v0.95 is several versions behind. |
Beta Was this translation helpful? Give feedback.
-
|
I just discovered that it is the following theme I am using that enforces indentation : How do I disable auto-indentation in this theme? |
Beta Was this translation helpful? Give feedback.
-
|
The problem has been solved here : SiriusXT/trilium-theme-blue#21 (comment) |
Beta Was this translation helpful? Give feedback.



@DrakeDrole , there is no built-in indentation in text notes. Does it happen for all your notes or only that particular note? If you copy-and-pasted the text from somewhere, it might have carried over the indentation (case in which you can remove the formatting).
Also, please update to the latest version. v0.95 is several versions behind.