-
Notifications
You must be signed in to change notification settings - Fork 372
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
line breaks are removed when past external content #1614
Comments
FWIW, this works fine for me the text inserts with the correct line breaks... Could you try a different browser, maybe? Both the copy button and opening the editor and select all -> copy worked I did have to use desktop mode on my phone's browser (bromite) though. |
I can reproduce it (currently), could not previously. It also doesn't have todo with syntax highlighting or autoformat, tried it with both disabled. |
have you not noticed the "Paste as plain text" option, or do you not have it? It does exactly that. The code copied from the mentioned website is copied as richtext, and this is making up for the newlines getting lost. What I changed is, remapping the Paste just to "Paste as Plaintext". |
anyway, with my change any paste will use the plaintext one. this functionality is available from Android Marshmallow onwards. |
Description
normally I can copy external content and past into Markor and line breaks are keeped. But there are some web pages, which I can't use as source to copy content into Markor. But I can use other editors to past the content including line breaks.
Steps to reproduce
for example this editor here for GitHub issues will not keep line breaks, but it will add some additional code around the inserted content
Information
Android version: 11
Device: Poco X3 Pro
App Version: 2.8.6 (130)
Source
F-Droid
Format / File type
Plaintext
Additional info / Log
The text was updated successfully, but these errors were encountered: