-
Notifications
You must be signed in to change notification settings - Fork 30
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
Feature: Allow Non-Formatted Pasting with Ctrl + Shift + V #37
Comments
Great idea - a standard key combo for pasting unformatted :) |
Here's how another plugin does it: // Check for `Shift + Mod + V` triggered event.
// Do not handle `Shift + Mod + V` events.
if (evt.clipboardData.types.length === 1 && evt.clipboardData.types[0] === 'text/plain') {
return;
} |
Alternatively, this plugin could also leave the regular paste behavior as it is and just rely on a custom keyboard shortcut for URL paste, i.e. remove https://github.com/denolehov/obsidian-url-into-selection/blob/master/src/main.ts#L13. |
I actually like it, that is changes Ctrl+V. Otherwise I would have to remember another shortcut. Though the choice of Ctrl+K does make sense, as many other apps use that too. |
+1 i need it too |
There are some bugs when pasting raw URLs into the
example.com
portion of[example](example.com)
.Demo: paste
google.com
into[example](paste_here)
. It will format as[example]([ ](google.com))
.I propose allowing for the standard use of Ctrl + Shift + V for non-formatted pasting. This could be a great workaround for some issues other people are having in some of the other requests. Current I have to disable the plugin when editing a lot of hyperlinks.
The text was updated successfully, but these errors were encountered: