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

Paste text without creating a hyper link. #489

Open
Nriver opened this issue Aug 27, 2019 · 7 comments
Open

Paste text without creating a hyper link. #489

Nriver opened this issue Aug 27, 2019 · 7 comments

Comments

@Nriver
Copy link

Nriver commented Aug 27, 2019

I am using manajro and nixnote2-git from AUR. When I try to copy a single English word or a Chinese/Japanese sentence from other application into nixnote2, the text will become a hyper text link, which makes evernote/yinxiang fail to sync due to the link is not valid. So I have to manually remove the hyper link manually for each paste action. How can I make nixnote2 not to make hyper link automatically for the scenario?

eg. import
Copy and paste 'import' will make it a hyper link.
eg2. 你好
Some Chinese character without space between them will become a hyper link.

@robert7
Copy link

robert7 commented Aug 27, 2019

This repository is currently not maintained (as the maintainer is not reachable).
For version 2.1+ see https://github.com/robert7/nixnote2

Can you verify with 2.1?
It seems to work for me.. no hyperlink is pasted...

screen_20190827_01

it could depend on the source, from where you are pasting... it could be the source app actually inserts HTML into clipboard

In case you have problem with the AUR version, pls also try the AppImage build
I suggest 2.1.4 version https://github.com/robert7/nixnote2/releases/download/v2.1.4/NixNote2-x86_64.AppImage
(see this wiki link https://github.com/robert7/nixnote2/wiki/HowTo---Run-AppImage for info how to run the AppImage..)

@Nriver
Copy link
Author

Nriver commented Aug 27, 2019

Will my data be removed if i remove Nixnote2? I got over 3000 notes which takes hours to sync.

@robert7
Copy link

robert7 commented Aug 27, 2019

see wiki: https://github.com/robert7/nixnote2/wiki/Migration-v2.0-to-v2.1

no, the data will not be removed and used data structure for 2.0 and 2.1 are compatible in both directions. never run 2 copies of app at the same time on the same machine

and do backup of data & config directory before trying the new version (nothing bad should happen, but just to be sure)

@Nriver
Copy link
Author

Nriver commented Aug 28, 2019

I have tried several AppImage builds. It seems that the problem occurs only at the version 2.1.4. The old builds, like 2.1.3 and 2.1.2, are ok. I am using Sublime Text 3207 as the source app and my system is Manjaro with the latest update.

@robert7
Copy link

robert7 commented Aug 28, 2019

@Nriver OK thx for checking, actually I changed the url/paste insertion logic in 2.1.4.
So I will recheck whats happening. So far you can use 2.1.3

@robert7
Copy link

robert7 commented Aug 29, 2019

@Nriver
I fixed the problem in 2.1.5-b - I tested with Sublime Text, where I could repeat the problem in 2.1.5-a.
The "你好" will paste as plain text, where urls will be pasted as hyperlinks (even if they come in as plain text).

Pls retest.

@Nriver
Copy link
Author

Nriver commented Aug 30, 2019

Yes, 2.1.5-b did solved the problem, cheers.

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

No branches or pull requests

2 participants