Skip to content

Allow to use meta keys when navigating to preview links #3775

@tobi-or-not-tobi

Description

@tobi-or-not-tobi

Preview links are opened by default in an iframe. This is a great feature if you don't want to leave the screen, but in cases where you do want that occasionally, or for links that are blocked due to Content Security Policy (CSP), it would be convenient to allow for the default browser behaviour of using meta keys when clicking.

Although revealjs allows to manage using the preview link per individual link, it is (at least in my case) pretty convenient to handle all links as preview links by default. Especially the CSP blockers are annonnying in such case.

The meta key is either the command on mac or the ctrl on windows. E.g. Chrome allows for these key combinations on links

  • meta+click: open url in new tab (unfocused)
  • meta+shift+click: open url in new tab (focused)
  • shift+click: open url in new window (focussed)
  • alt+click: download url

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions