Replies: 1 comment
-
|
I found a hack that works for now. Using this in a CSS code with #appCss attribute overrides the % to fixed widths in pixels (code below). I'm also considering changing the source code to resizeUnit : 'px' in the apps/client/src/widgets/type_widgets/text/config.ts file. I'm a bit out of my depth though... /* TRILIUM IMAGE PIXEL-LOCK /* Targets images where you clicked the "25%" button / /* Targets images where you clicked the "50%" button / /* Targets images where you clicked the "100%" button / /* Optional: Prevent any image from ever stretching |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm new to Trilium and note taking apps in general, but one feature that would be awesome is if the image width can be set in pixels, not percentage. I have an issue that the images rescale depending on the editor's width and its very annoying. It makes it difficult to know how the exported pdf will look too. Notesnook has this feature (and it's awesome) and obsidian also sets the width directly. I would much rather support this awesome project than to pay for something like notesnook. If it's a feature that could reasonably be included I'd even be open to supporting it. Thanks for the awesome program, I love it!
Beta Was this translation helpful? Give feedback.
All reactions