Skip to content
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

[Bug] extra new line after each line if pasted into an external program #87

Open
BasilTomato opened this issue Sep 3, 2020 · 3 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@BasilTomato
Copy link

Describe the bug
If I try to paste the content copied from a Cryptee document into an external program there is an unnecessary extra new line after each line pasted. This is quite annoying and have to be fixed each and every time.
The problem is observed in following situations:

  • Android: text pasted into chat app, or any other app
  • Windows: text pasted into Notepad++, and possible other app

To Reproduce
Steps to reproduce the behavior in Windows:

  1. copy any multi-paragraph text from a Cryptee document
  2. paste the content into a file opened with Notepad++ (and possible any other app)

Expected behavior
No extra new line after wach line pasted.

Screenshots
n/a

System Information (please complete the following information):

  • Device: Android smart phone, Windows laptop
  • OS: Android 10, Windows 10
  • Browser: Android: Ungoogled Chromium; Windows: Firefox, Chrome
  • Browser Version: latest
  • Browser Extensions / Add-ons / Content Blockers: disabled
  • Do you have any DNS-based content blockers? no
  • Are you on a managed network? no

Additional context
n/a

@johnozbay
Copy link
Member

Hi there!
Today we released Cryptee v3.0, and it's a completely rewritten, entirely new app. We fixed a ton of bugs in copy / pasting, and added a bunch of new features like detecting insecure urls / image trackers while pasting. ( 01edfe4 ) You can read more about this update here :

https://blog.crypt.ee/say-hello-to-a-new-cryptee

Give it a try and let me know if this update fixes the bug!

Thanks for this! ✌🏻

@johnozbay johnozbay added bug Something isn't working help wanted Extra attention is needed labels Feb 21, 2021
@johnozbay johnozbay self-assigned this Feb 21, 2021
@BasilTomato
Copy link
Author

BasilTomato commented Feb 22, 2021

Hello, thanks for the update!

I have tested in 3.0, and this problem still exist.

@jebbster88
Copy link

I assume that's down to Cryptee treating each line as the start of a new paragraph. Try pasting the text below into notepad and I'd wager you get the same result, it'd be the same case copying paragraphs from any website.. I'm not surprised it behaves this way, and to be honest appreciate it. I think where Cryptee possibly falls down is the inability to use Shift-Return to insert a soft line break (as per the last part of my example below), but that's not Cryptee's fault (slab/quill#252)

Example

This is a paragraph

This is another paragraph

This is all one paragraph
with a line break

Example source

<p>This is a paragraph</p>
<p>This is another paragraph</p>
<p>This is all one paragraph<br />with a line break (soft break)</p>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants