chore: update seed data for tag (#817)

* chore: update seed data

* chore: add `_journal_mode` for SQLite

* chore: update create tag dialog
This commit is contained in:
boojack
2022-12-22 08:34:05 +08:00
committed by GitHub
parent b6f19ca093
commit 201c0b020d
4 changed files with 43 additions and 10 deletions

View File

@ -327,7 +327,7 @@ const MemoEditor = () => {
toastHelper.error(error.response.data.message);
}
// Upsert tag based with content.
// Upsert tag with the content.
const matchedNodes = getMatchedNodes(content);
const tagNameList = uniq(matchedNodes.filter((node) => node.parserName === "tag").map((node) => node.matchedContent.slice(1)));
for (const tagName of tagNameList) {