diff options
| author | bobzel <zzzman@gmail.com> | 2022-11-04 12:43:59 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2022-11-04 12:43:59 -0400 |
| commit | fe98c7d46df1852a74cd84dbe9ad010bfb3d5550 (patch) | |
| tree | d1c96f67d824e98907fbe36697e0523d1af9b7bb /src/client/views/nodes/formattedText/RichTextRules.ts | |
| parent | 770f546a38d7ec827bff55fd0dd64b873a112180 (diff) | |
more fixes to pdf and text to allow dashfieldview nodes to be link anchors and make sidebar annotations work better.
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 dc5d8ada8..e3c67ad2e 100644 --- a/src/client/views/nodes/formattedText/RichTextRules.ts +++ b/src/client/views/nodes/formattedText/RichTextRules.ts @@ -274,7 +274,7 @@ export class RichTextRules { const num = value.match(/^[0-9.]$/); this.Document[DataSym][fieldKey] = value === 'true' ? true : value === 'false' ? false : num ? Number(value) : value; } - const fieldView = state.schema.nodes.dashField.create({ fieldKey, docid, hideKey: true }); + const fieldView = state.schema.nodes.dashField.create({ fieldKey, docid, hideKey: false }); return state.tr.setSelection(new TextSelection(state.doc.resolve(start), state.doc.resolve(end))).replaceSelectionWith(fieldView, true); }), |
