Skip to content

Commit

Permalink
Merge pull request #27 from janniks/add-link-options
Browse files Browse the repository at this point in the history
Make links open in new tab by default
  • Loading branch information
janniks authored Mar 30, 2021
2 parents 063dd9d + a8cb5b5 commit 89decbd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

1 change: 1 addition & 0 deletions src/blocks/decorator.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
<a
v-else-if="decoratorKey === 'a'"
class="notion-link"
target="_blank"
:href="decoratorValue"
>
<NotionDecorator :content="nextContent" />
Expand Down
1 change: 1 addition & 0 deletions src/lib/blockable.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export const blockProps = {

export const blockComputed = {
pass() {
// todo: make this more dynamic by iterating over blockProps attributes
return {
blockMap: this.blockMap,
contentId: this.contentId,
Expand Down

1 comment on commit 89decbd

@vercel
Copy link

@vercel vercel bot commented on 89decbd Mar 30, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.