wip
This commit is contained in:
parent
dea85c3a97
commit
648e691b8c
|
@ -18,6 +18,7 @@ import messaging from './messaging.vue';
|
||||||
import messagingForm from './messaging-form.vue';
|
import messagingForm from './messaging-form.vue';
|
||||||
import messagingRoom from './messaging-room.vue';
|
import messagingRoom from './messaging-room.vue';
|
||||||
import messagingMessage from './messaging-message.vue';
|
import messagingMessage from './messaging-message.vue';
|
||||||
|
import urlPreview from './url-preview.vue';
|
||||||
|
|
||||||
Vue.component('mk-signin', signin);
|
Vue.component('mk-signin', signin);
|
||||||
Vue.component('mk-signup', signup);
|
Vue.component('mk-signup', signup);
|
||||||
|
@ -37,3 +38,4 @@ Vue.component('mk-messaging', messaging);
|
||||||
Vue.component('mk-messaging-form', messagingForm);
|
Vue.component('mk-messaging-form', messagingForm);
|
||||||
Vue.component('mk-messaging-room', messagingRoom);
|
Vue.component('mk-messaging-room', messagingRoom);
|
||||||
Vue.component('mk-messaging-message', messagingMessage);
|
Vue.component('mk-messaging-message', messagingMessage);
|
||||||
|
Vue.component('mk-url-preview', urlPreview);
|
||||||
|
|
|
@ -44,7 +44,7 @@ export default Vue.component('mk-post-html', {
|
||||||
case 'url':
|
case 'url':
|
||||||
return createElement(MkUrl, {
|
return createElement(MkUrl, {
|
||||||
props: {
|
props: {
|
||||||
href: escape(token.content),
|
url: escape(token.content),
|
||||||
target: '_blank'
|
target: '_blank'
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue