This commit is contained in:
2026-05-09 20:40:27 +02:00
parent 94e2b8bd47
commit 0b49ac4b48
8 changed files with 175 additions and 141 deletions

View File

@@ -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>`;
},
};