Remove HyperMD and fix validation task

This commit is contained in:
Clément Pons
2025-04-22 10:05:14 +02:00
parent f599b561af
commit cb00c093ff
5 changed files with 246 additions and 455 deletions

View File

@@ -282,7 +282,7 @@ watch(selected, async (value, old) => {
//@ts-ignore
debounced.value = selected.value.content ?? '';
}
router.replace({ hash: '#' + encodeURIComponent(selected.value.path || getPath(selected.value)) });
router.replace({ hash: '#' + selected.value.path || getPath(selected.value) });
}
else
{
@@ -569,10 +569,10 @@ const defaultExpanded = computed(() => {
return split;
}
})
watch(router.currentRoute, (value) => {
/*watch(router.currentRoute, (value) => {
if(value && value.hash && navigation.value)
selected.value = tree.find(navigation.value, decodeURIComponent(value.hash.substring(1)));
selected.value = tree.find(navigation.value, value.hash.substring(1));
else
selected.value = undefined;
}, { immediate: true });
}, { immediate: true });*/
</script>