baumgarr / nixnote2

Nixnote - A clone of Evernote for Linux

Home Page:http://www.nixnote.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Paste text without creating a hyper link.

Nriver opened this issue · comments

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.

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..)

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

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)

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.

@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

@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.

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