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

Suggestion: use Paste as Text by default when pasting into plain text note #523

Closed
thdoan opened this issue Nov 16, 2015 · 6 comments
Closed

Comments

@thdoan
Copy link

thdoan commented Nov 16, 2015

When a note is set to "plain text only", everything that is pasted into the note should be stripped of all formatting before it is inserted into the note ("Paste as Text" command). Currently, whenever I paste rich text (e.g., from Word or a web page), the program pauses for a bit and pastes the text with full formatting. This is problematic for two reasons:

  1. There is that pause every time you paste rich text. Using "Paste as Text" is noticeably faster.
  2. It might be confusing to people when their note is set to plain text format and they see rich text when pasting (even though the formatting will not be saved).

I'm aware there is the Ctrl+Shift+V shortcut for pasting as text, but the Ctrl+V habit (call it muscle memory) is hard to lose. The default pasting method should be contextual to the note format.

@dpradov
Copy link
Owner

dpradov commented Nov 18, 2015

I agree with you.

@dpradov
Copy link
Owner

dpradov commented Dec 2, 2015

I suppose that you meant to CTR+SHIFT+INS instead of CTR+SHIFT+V. Or perhaps you have assigned that hotkey to Paste as Text. By default, CTR+SHIFT+V worked exactly as CTR+V.

Now KN recognizes CTR+SHIFT+V, as equivalent to CTR+SHIFT+INS (paste plain text). And also: CTR+SHIFT+C and CTR+SHIFT+X. This three keyword combination will be ignored if they are assigned as a hotkey. For example, actually, CTR+SHIFT+C is by default assigned to Insert -> Character...

Besides, it is corrected the behavior of button 'Paste' (not worked if clicked without key modifiers).

@thdoan
Copy link
Author

thdoan commented Dec 8, 2015

You're right -- I think I must have assigned Ctrl+Shift+V to "Paste as Text" and forgot about it. Can you confirm, in v1.7.9 final release, pressing Ctrl+V would do a "Paste as Text" operation by default if pasting into plain text note?

@dpradov
Copy link
Owner

dpradov commented Dec 8, 2015

Hello. Yes, in 1.7.9 and in next beta I will upload soon (changes are made, in the commit a04575a) Also, Clip Web clip and Clipboard Capture will paste as text when pasting into plain text note.

@thdoan
Copy link
Author

thdoan commented Dec 8, 2015

@dpradov This is so awesome -- thanks a lot!

dpradov added a commit that referenced this issue Dec 9, 2015
…s Web Clip'

Related to use Paste as Text by default when pasting into plain text note: #523

Signed-off-by: Daniel Prado Velasco <dpradov@users.noreply.github.com>
@thdoan
Copy link
Author

thdoan commented Apr 27, 2016

I'm still on beta 4 and just noticed you're already on beta 6 :). 👍 for paste-as-text in text notes!

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

No branches or pull requests

2 participants