Mobile version - rich text editing - copy paste ALWAYS adds line spaces

Dear everybody,

I like to use rich text editing on mobile, because it scans better and i havent found a way to remove all the line numbers on the left which takes up a huge part of the screen in markdown.

There's one behaviour of the app that i find hugely detrimental to my workflow and i find it somewhat astonishing this happens.

When i copy a piece of text, and paste it, the app adds line spaces to EVERY piece of text on a new line.

Then i have to manually remove them or remember to switch over to markdown editing first (two clicks), find the place i was at (takes forever), copy paste, then switch back (three clicks). FOR EVERYTHING.

I write a lot in this app, and i love joplin. But i despise this.

Is there any way at all that this can be changed or does anyone know of a mod or a fix that could change this? i decided to finally ask instead of suffer

Thanks for any help

-jopjop

See How to get rid of double line-spacing? - #4 by mrjo118

Note that many web based editors (including this forum) require you to use shift+enter to avoid creating paragraphs, so this is by no means a unique situation

I see... unfortunately i cannot shift enter on my phone..? the topic you've linked also seems to offer solutions for desktop. The last comment on this in the topic on github that that topic links to is from 2024. it suggests using a different rich text editor because that might help.

Is there any development on that as far as you know...?

Ah sorry, I skimmed over your post too quickly and assumed it was the same common request. In the mobile editor, the paragraph issue is solved for when you press enter manually, but further changes would be required to make pasting work in a similar way. Your request is reasonable, though I don't know how difficult this would be to implement

how do you mean press enter manually? is it possible to press enter in a different way than i am aware of? and does this produce a different result that might prevent copy pasting problems as well?

I mean if you're typing text directly, you press enter on the on screen keyboard manually, in order to insert a line break. When you're pasting existing text, then any line breaks are in the text already so it wont have the post processing which happens when you press enter manually (i.e. changing a paragraph to a newline, unless you press enter twice)

and i havent found a way to remove all the line numbers on the left which takes up a huge part of the screen in markdown.

Joplin's markdown editor doesn't display line numbers by default (and doesn't have a built-in option to display them), is it possible that the line numbers are coming from a plugin that you have installed? (e.g. the "Extra markdown editor settings" plugin has an option to show line numbers in the markdown editor)

ah yes thats it. the plugin wont allow me to toggle features as far as i can see. think i downloaded it for word count which ive never seen it do.

problem with markdown isnt just my self-inflicted sidebar problem. its also that when im in read mode and then toggle to edit mode, i have to refind the place i was at in the text. and it always starts on read mode too. not so for rich text editor, which is amazing but also feels like a basic. but then. pick between two evils time then.....? or can THAT be fixed?

ah right i see, thanks

You can change that if you go to configuration > editor > default view / edit state. Change it to either edit or last used

thank you! problem solved