From 0c33f25e18279a27a62ddfaba36d04dab86a4ca5 Mon Sep 17 00:00:00 2001 From: bobzel Date: Sun, 28 Feb 2021 12:49:44 -0500 Subject: fixed linkondeselect tempoararily. fixed following hypertext links that are not on the lowest level span --- src/client/documents/Documents.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client/documents/Documents.ts') 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, options: DocumentOptions, id?: string) { -- cgit v1.2.3-70-g09d2