diff options
| author | bobzel <zzzman@gmail.com> | 2023-05-08 12:27:55 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2023-05-08 12:27:55 -0400 |
| commit | dbd531233ea7c10130976127361f84281026a308 (patch) | |
| tree | f2731d8c96aac08157ac4a2b2e5ea7fef7eda4e2 /src/client/views/nodes/formattedText/RichTextRules.ts | |
| parent | 2255f2ffd4d9c5818d8d26f1814b315ad914eaa9 (diff) | |
more fixes for tags - removed #<tag> fields. just use 'tags' now.
Diffstat (limited to 'src/client/views/nodes/formattedText/RichTextRules.ts')
| -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 68b209332..fb929d20b 100644 --- a/src/client/views/nodes/formattedText/RichTextRules.ts +++ b/src/client/views/nodes/formattedText/RichTextRules.ts @@ -325,7 +325,7 @@ export class RichTextRules { new InputRule(new RegExp(/#([a-zA-Z_\-]+[a-zA-Z_\-0-9]*)\s$/), (state, match, start, end) => { const tag = match[1]; if (!tag) return state.tr; - this.Document[DataSym]['#' + tag] = '#' + tag; + //this.Document[DataSym]['#' + tag] = '#' + tag; const tags = StrListCast(this.Document[DataSym].tags); if (!tags.includes(tag)) { tags.push(tag); |
