Skip to content

4.14 Customize Link Behavior Customize Link Actions.en

xiangyu edited this page Nov 25, 2022 · 1 revision

Link action

You can customize the behavior of links in your notes. The behaviors that support customization are as follows, without overriding the default behavior:

  1. Left-click the link:extension.zotero.Knowledge4Zotero.linkAction.click
  2. ctrl+ Left-click the link (the default behavior is to open the link content):extension.zotero.Knowledge4Zotero.linkAction.ctrlclick
  3. shift+ Left-click the link (default behavior might select text):extension.zotero.Knowledge4Zotero.linkAction.shiftclick
  4. alt+ Left-click the link:extension.zotero.Knowledge4Zotero.linkAction.altclick

Supported actions are:

| Field | Explanation -- openLink Open Link openLinkIfNote opens zotero://noteLinks of type (notes) openLinkIfSelect opens zotero://selectLink to type (see in the literature library) openLinkIfPDF opens zotero://open-pdfType of link (PDF attachment) openLinkInNewWindow opens links in a new window (currently only available for notes links) copyLink Copy Link setMainNote is set as the main note (valid for note links only)

Setting mode

Menu Bar-Edit-Preferences-Advanced-Setting Editor-Search for linkAction