Skip to content

(sandstorm package) use <base target="_blank"> so Markdown links open successfully, in a new tab #14

@paulproteus

Description

@paulproteus

Steps to reproduce:

  • Create a new brainstorm on e.g. oasis.sandstorm.io
  • Create a card with a link in it, in Markdown format
  • Click the link

Expected behavior:

  • The link opens in a new tab, since Sandstorm doesn't allow the grain iframe to navigate to other base URLs than the grain's base URL

Actual behavior:

  • Clicking seems to do nothing
  • It logs a message to the JS console saying:
Refused to frame 'https://cthuugle.com/' because it violates the following Content Security Policy directive: "frame-src 'self' https://*.oasis.sandstorm.io".

Relevant info:

<base target="_blank" />

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