diff options
author | bobzel <zzzman@gmail.com> | 2020-09-15 16:47:22 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-09-15 16:47:22 -0400 |
commit | fad74a2d613b30a94aad8a65cfd8db7b916a7ea6 (patch) | |
tree | 2ce409eb31d9a2cda1130aef8503dd0f6564f9b7 /src | |
parent | 187fe40883c8698ecf9401d4ecfba68a89096f6d (diff) |
fixed upating of tags when #keywords are added
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/nodes/formattedText/RichTextRules.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/formattedText/RichTextRules.ts b/src/client/views/nodes/formattedText/RichTextRules.ts index 06c73265a..10d679e45 100644 --- a/src/client/views/nodes/formattedText/RichTextRules.ts +++ b/src/client/views/nodes/formattedText/RichTextRules.ts @@ -322,7 +322,7 @@ export class RichTextRules { const tag = match[1]; if (!tag) return state.tr; this.Document[DataSym]["#" + tag] = "#" + tag; - const tags = StrCast(this.Document.tags, ":"); + const tags = StrCast(this.Document[DataSym].tags, ":"); if (!tags.includes(`#${tag}:`)) { this.Document[DataSym].tags = `${tags + "#" + tag + ':'}`; } |