Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

Copy text with line breaks #453

Closed
edpichler opened this issue Jun 27, 2014 · 3 comments
Closed

Copy text with line breaks #453

edpichler opened this issue Jun 27, 2014 · 3 comments

Comments

@edpichler
Copy link

I'm trying to copy a text with line breaks. ?

 clipboard.setData("text/plain", "First line \nSecond line");

Of course, is not working. What is the correct way to do that?

@edpichler
Copy link
Author

It worked now!

@JamesMGreene
Copy link
Member

OK? :)

@JamesMGreene
Copy link
Member

P.S. Also see the note here: docs/instructions.md#os-considerations

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants