kjdskjk
This commit is contained in:
@@ -5,12 +5,16 @@ const widget_map = {
|
||||
},
|
||||
display: {
|
||||
roll: () => import("~/components/viewer/widgets/display/RollWidgetDisplay.vue"),
|
||||
}
|
||||
},
|
||||
link: {
|
||||
link: () => import("~/components/viewer/widgets/link/NoteLink.vue")
|
||||
}
|
||||
};
|
||||
|
||||
const componentCache = {
|
||||
inline: {},
|
||||
display: {}
|
||||
display: {},
|
||||
link: {}
|
||||
}
|
||||
|
||||
const GetWidget = (type, name) => {
|
||||
@@ -94,7 +98,7 @@ const linkExtension = {
|
||||
},
|
||||
|
||||
renderer(token) {
|
||||
return `<span class="vue-link" data-href="${token.link}"></span>`;
|
||||
return `<span class="vue-component-link" data-component="link" data-content="${token.link}"></span>`;
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user