CreateLink icon indicating copy to clipboard operation
CreateLink copied to clipboard

Marked text not substituted for `%text%` when activated via a shortcut key

Open dadooda opened this issue 8 years ago • 3 comments

Conditions:

  • Format item Text: URL = %text%: %url%, set as default.
  • Shortcut key is Ctrl+Shift+U.
  • We're standing on a page having the title "The title".
  • A fragment of text is selected, namely "Selected text".

Steps to reproduce:

  1. We use the extension via a mouse click: "Text: URL". Result: "Selected text: [url]" -- OK.
  2. We use the extension via a shortcut. Result: "The title: [url]" -- NOT OK.

Cheers!

dadooda avatar Dec 25 '16 14:12 dadooda

I noticed this as well. It's unfortunate, but I'm not impacted enough to work on a fix. https://github.com/ku/CreateLink/pull/20 first introduced the keyboard shortcut (followed up by some minor tweaks, so anyone interested in taking on this fix might want to start there.

patkujawa-wf avatar Dec 27 '16 21:12 patkujawa-wf

I'm so sorry for being not aware this issue is created for long time. I'll look into it this week and fix it.

ku avatar Mar 12 '17 15:03 ku

This would be a good extension for copying code from stackoverflow and posting into a local editor witch ctrl-c as the shortcut if this were fixed.

poleguy avatar Mar 25 '20 17:03 poleguy