aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-02-28 12:49:44 -0500
committerbobzel <zzzman@gmail.com>2021-02-28 12:49:44 -0500
commit0c33f25e18279a27a62ddfaba36d04dab86a4ca5 (patch)
tree59977331b477369d4d6ddc4a04bbde70d0e0b6c0 /src/client/documents/Documents.ts
parenta8f5189834987707586a5415409b5f1556eff7b5 (diff)
fixed linkondeselect tempoararily. fixed following hypertext links that are not on the lowest level span
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r--src/client/documents/Documents.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts
index 7f20fa990..3791dbc5c 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -832,8 +832,8 @@ export namespace Docs {
return InstanceFromProto(Prototypes.get(DocumentType.DOCHOLDER), document, { title: document ? document.title + "" : "container", targetDropAction: "move", ...options });
}
- export function TextanchorDocument(options: DocumentOptions = {}) {
- return InstanceFromProto(Prototypes.get(DocumentType.TEXTANCHOR), undefined, { targetDropAction: "move", ...options });
+ export function TextanchorDocument(options: DocumentOptions = {}, id?: string) {
+ return InstanceFromProto(Prototypes.get(DocumentType.TEXTANCHOR), undefined, { targetDropAction: "move", ...options }, id);
}
export function FreeformDocument(documents: Array<Doc>, options: DocumentOptions, id?: string) {