diff options
| author | bobzel <zzzman@gmail.com> | 2022-04-28 12:13:44 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2022-04-28 12:13:44 -0400 |
| commit | 59a22f3a007b201e68ac2f3e1d62e0ca5e66488a (patch) | |
| tree | 37ecac13872202fbf5872f27163c69e6c7e565a0 /src/client/views/nodes/formattedText/RichTextRules.ts | |
| parent | 778432158e5f0bcdcb2e68ff6872a5c9335ef3af (diff) | |
fixed feedback dragging link button. fixed warnings. added some assymetric linkRelationships.
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 00c03875b..427e05edb 100644 --- a/src/client/views/nodes/formattedText/RichTextRules.ts +++ b/src/client/views/nodes/formattedText/RichTextRules.ts @@ -275,7 +275,7 @@ export class RichTextRules { this.TextBox.EditorView?.dispatch(rstate.tr.setSelection(new TextSelection(rstate.doc.resolve(start), rstate.doc.resolve(end - 3)))); } const target = ((docx instanceof Doc) && docx) || Docs.Create.FreeformDocument([], { title: rawdocid.replace(/^:/, ""), _width: 500, _height: 500, }, docid); - DocUtils.MakeLink({ doc: this.TextBox.getAnchor() }, { doc: target }, "portal to", undefined); + DocUtils.MakeLink({ doc: this.TextBox.getAnchor() }, { doc: target }, "portal to:portal from", undefined); const fstate = this.TextBox.EditorView?.state; if (fstate && selection) { |
