diff options
author | bobzel <zzzman@gmail.com> | 2020-09-03 15:59:51 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-09-03 15:59:51 -0400 |
commit | 3ba4d0b56b5a0428d1b363ee05b419b954a2b071 (patch) | |
tree | deb25b5e277a6e91d7ec982fb71f2211c7ff6911 /src/client/util/DragManager.ts | |
parent | 91a30e512b93937409c2fb3299dc52fc2a87c22a (diff) |
fixed linking pdf selections to rtf selections.
Diffstat (limited to 'src/client/util/DragManager.ts')
-rw-r--r-- | src/client/util/DragManager.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/client/util/DragManager.ts b/src/client/util/DragManager.ts index 1bd2bdb9d..9797f5488 100644 --- a/src/client/util/DragManager.ts +++ b/src/client/util/DragManager.ts @@ -144,7 +144,7 @@ export namespace DragManager { linkSourceDocument: Doc; dontClearTextBox?: boolean; linkDocument?: Doc; - linkDropCallback?: (data: LinkDragData) => void; + linkDropCallback?: (data: { linkDocument?: Doc }) => void; } export class ColumnDragData { constructor(colKey: SchemaHeaderField) { @@ -161,7 +161,7 @@ export namespace DragManager { this.annotationDocument = annotationDoc; this.offset = [0, 0]; } - linkedToDoc?: boolean; + linkDocument?: Doc; targetContext: Doc | undefined; dragDocument: Doc; annotationDocument: Doc; @@ -169,6 +169,7 @@ export namespace DragManager { offset: number[]; dropAction: dropActionType; userDropAction: dropActionType; + linkDropCallback?: (data: { linkDocument?: Doc }) => void; } export function MakeDropTarget( |