Hey folks,
it might be because I only started using Joplin recently, but when I open a note my look first embraces the middle pane (the markdown) and I start reading the contents there, even though the preview pane is much better suited for reading a note.
I digged in every menu entry but could not find any way to swap the panes, so if this feature could be implemented it will be marvellous.
Thanks in advance!
You can hit this button in the top right to swap the layouts.
Alternatively you can use Ctrl/Cmd + L
or View > Toggle editor layout
.
You can choose which layouts should display via View > Layout button sequence
I think what plamkas wanted is to swap the positions of editor & viewer.
Pretty sure someone did it with CSS but couldn't find anything.
Oh I see, yeah that was me actually:
Somebody asked a question on Discord about whether the markdown editor and preview windows could swap position. I have no idea if this will break anything (as it isn't something I will ever use and have no real impetus to test it) but I managed to do it by adding the following to userchrome.css.
.rli-editor > div > div > div > div > div > div {
flex-direction: row-reverse !important;
}
Et voilà!
[image]
1 Like
Wow, it worked!
It took me some time to find out what an userchrome.css is and how to find it, but it was wort it.
Thanks a lot!
I don't know if this is what you might have found already but there is a great post that summarises the basics of the css styling stuff:
Joplin has several internal stylesheets that control what Joplin looks like to the user. However two have been provided that allow the user to customise the app. Joplin uses its built-in styles but these two files can be used to override those styles. These files are just like the Cascading Style Sheets (CSS) used when creating web-sites. The files are called userchrome.css and userstyle.css.
userchrome.css allows styling of the app itself, including the Markdown Editor,
userstyle.css allows s…
1 Like