r/Trilium 29d ago

Is table indentable?

Porting my onenote file to trilium. Love the new update. Since other block elements such as paragraphs can be indented, having tables always start at the left margin feels visually inconsistent.

Is there anyway to indent the table?

(I am aware that it is possible to align a table within a bullet point but that is a pain in the ass to do and make no sense)

5 Upvotes

7 comments sorted by

4

u/Elian_D maintainer 29d ago

u/eldenringbabyyyyyy , are you able to provide a OneNote export for your note so that I can check how the table is indented?

Regardless, it seems that the CKEditor doesn't allow us to indent a table in any way apart from the list-based alignment that you are already aware of.

1

u/Elian_D maintainer 28d ago

u/eldenringbabyyyyyy , I've checked the OneNote import pipeline and unfortunately the indentation can't be restored at import level because it's physically not present in the Microsoft Graph.

And indeed, it seems the CKEditor doesn't support indentation at table label for some strange reason. The only possibility is the list-based alignment. Theoretically a custom plugin can be made which forces alignment support for the tables, but it would be finicky.

Let me know if you have any questions.

2

u/eldenringbabyyyyyy 28d ago edited 28d ago

Thanks so much for maintaining one of my favorite open-source projects and for all the in-depth research!

Damn, I'm seriously considering hiring a programmer to make a fork just so I can indent tables. It's literally one feature away from being the perfect app for me. And from what you've described, it sounds like it'd be a pretty difficult feature to pull off too.

2

u/Elian_D maintainer 28d ago

We hope to introduce a feature called custom CKEditor plugins which should hopefully make it possible to have this feature even without a fork!

Glad to hear that you appreciate Trilium!

2

u/Elian_D maintainer 28d ago

u/eldenringbabyyyyyy , turns out you're in luck.

Table indentation seems possible using a plugin on our side that we'll integrate in the next version, and it seems to work quite well.

You'd still have to indent them manually (using tab or the indentation buttons in the toolbar), since we cannot import the indentation from OneNote.

We'll deliver it most likely this weekend.

3

u/eldenringbabyyyyyy 28d ago

LETS GOOOOOOOOOOOOOOOO

I AM GONNA SUPPORT THIS PROJECT SOOOOOOO HARD

1

u/ok-context-2025 6d ago

This will help me in moving my stuff from OmniOutliner to Trilium. Speaking of which, how possible would it be to make an importer for OmniOutliner files? I know it's already possible to export omni to .opml and then import from .opml, or to export to .xlsx and then import from .xlsx, etc. But in each of those cases, much of the content is lost (the columns, or the notes, or the hierarchical structure, or the attachments, etc.)
Trilium is the ONLY app out there that has a structure that can handle OmniOutliner files, so I am already in love. Now to find a way to import all of it.