Skip to content

Conversation

ycmjason
Copy link
Contributor

@ycmjason ycmjason commented May 12, 2018

This PR includes the following enhancements

  • Replaced addAttr() by token.attrSet()
  • Show OutboundLink icon for external links in nav
  • Show OutboundLink icon for external links in markdown

@@ -1,23 +1,24 @@
<template>
<router-link
class="nav-link"
<router-link class="nav-link"
Copy link
Member

Choose a reason for hiding this comment

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

Don't format the original code

</template>

<script>
import { isExternal, isMailto, isTel, ensureExt } from './util'
import OutboundLink from './OutboundLink.vue'
Copy link
Member

Choose a reason for hiding this comment

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

Since you have registered <OutboundLink> as a global component, either that removing this import or removing the global registration. (You could only choose the 1st.)

@ycmjason
Copy link
Contributor Author

@ulivz done boss! please review again if you are free! 😄

Copy link
Member

@ulivz ulivz left a comment

Choose a reason for hiding this comment

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

Great work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants