aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/formattedText/FormattedTextBox.tsx
diff options
context:
space:
mode:
authorsharkiecodes <lanyi_stroud@brown.edu>2025-04-29 23:01:31 -0400
committersharkiecodes <lanyi_stroud@brown.edu>2025-04-29 23:01:31 -0400
commit013769e309d7b462b7ae6bc987a6cde2f8a68a24 (patch)
tree285cb77f7f6fe64ce5589b7197fb885ac151f612 /src/client/views/nodes/formattedText/FormattedTextBox.tsx
parent609ec6d37b5abf94f3ab84784544ebe47804cdf5 (diff)
parent2147cbf7bfea223796a3d542b393192f31522aa4 (diff)
Merge branch 'lanyi-branch' of https://github.com/brown-dash/Dash-Web into lanyi-branch
Diffstat (limited to 'src/client/views/nodes/formattedText/FormattedTextBox.tsx')
-rw-r--r--src/client/views/nodes/formattedText/FormattedTextBox.tsx1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/client/views/nodes/formattedText/FormattedTextBox.tsx b/src/client/views/nodes/formattedText/FormattedTextBox.tsx
index f4cbbcc9e..1ff902ba2 100644
--- a/src/client/views/nodes/formattedText/FormattedTextBox.tsx
+++ b/src/client/views/nodes/formattedText/FormattedTextBox.tsx
@@ -1367,7 +1367,6 @@ export class FormattedTextBox extends ViewBoxAnnotatableComponent<FormattedTextB
};
doPaste = (view: EditorView, data: DataTransfer | null) => {
const html = data?.getData('text/html');
- const text = data?.getData('text/plain');
const pdfAnchorId = data?.getData('dash/pdfAnchor');
if (html && !pdfAnchorId) {
const replaceDivsWithParagraphs = (expr: string) => {