ui: use vditor as default markdown editor

This commit is contained in:
undefined committed 2021-04-17 23:01:13 +08:00
1 parent 981b21160f
commit d7a6e30743
13 files changed
+109 -266

No files matched your search

@@ -57,7 +57,6 @@ function parseCategorySelection() {
$txt.val().split(',').map((name) => name.trim()).forEach((name) => {
if (!name) return;
const [category, subcategory] = findCategory(name);
console.log(name, category, subcategory);
if (!category) tags.push(name);
else if (!subcategory) {
categories[category].select = true;