diff options
author | eleanor-park <eleanor_park@brown.edu> | 2024-04-14 14:27:43 -0400 |
---|---|---|
committer | eleanor-park <eleanor_park@brown.edu> | 2024-04-14 14:27:43 -0400 |
commit | 15e40cd865474f524c8e35f9352fc40d4b515ab3 (patch) | |
tree | 4ba71fafec248b22226157908b9fb578e4529df6 /src/client/views/PreviewCursor.tsx | |
parent | d938cd08650279f5c7894793d5fd78ec4068694c (diff) | |
parent | 36d18da80e5e5e1c6cae0dc21c1677a7ab9c1d77 (diff) |
Merge branch 'eleanor-starter' of https://github.com/brown-dash/Dash-Web into eleanor-starter
Diffstat (limited to 'src/client/views/PreviewCursor.tsx')
-rw-r--r-- | src/client/views/PreviewCursor.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/PreviewCursor.tsx b/src/client/views/PreviewCursor.tsx index 456b753b4..a94c18295 100644 --- a/src/client/views/PreviewCursor.tsx +++ b/src/client/views/PreviewCursor.tsx @@ -85,7 +85,7 @@ export class PreviewCursor extends ObservableReactComponent<{}> { } else { FormattedTextBox.PasteOnLoad = e; if (e.clipboardData.getData('dash/pdfAnchor')) e.preventDefault(); - UndoManager.RunInBatch(() => this._addLiveTextDoc?.(DocUtils.GetNewTextDoc('', newPoint[0], newPoint[1], 500, undefined, undefined, undefined)), 'paste'); + UndoManager.RunInBatch(() => this._addLiveTextDoc?.(DocUtils.GetNewTextDoc('', newPoint[0], newPoint[1], 500, undefined, undefined)), 'paste'); } } //pasting in images |