mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
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:
@ -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) {
|
||||
|
Reference in New Issue
Block a user