aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/FormattedTextBoxComment.tsx
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-12-10 11:22:58 -0500
committerbob <bcz@cs.brown.edu>2019-12-10 11:22:58 -0500
commit1c7c38868978b0f68dbad8a9e07d3d30967c23e1 (patch)
treeee7fba8c493fc76a278e3f926c8fd19de1e6f488 /src/client/views/nodes/FormattedTextBoxComment.tsx
parent65c7ce1c6be70f28e1be57e369cf15bc2df7d729 (diff)
fixes to text box inlines for selection.
Diffstat (limited to 'src/client/views/nodes/FormattedTextBoxComment.tsx')
-rw-r--r--src/client/views/nodes/FormattedTextBoxComment.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/nodes/FormattedTextBoxComment.tsx b/src/client/views/nodes/FormattedTextBoxComment.tsx
index 9f1dd4aec..ed98d9db6 100644
--- a/src/client/views/nodes/FormattedTextBoxComment.tsx
+++ b/src/client/views/nodes/FormattedTextBoxComment.tsx
@@ -94,6 +94,7 @@ export class FormattedTextBoxComment {
FormattedTextBoxComment.start, FormattedTextBoxComment.end, FormattedTextBoxComment.mark,
FormattedTextBoxComment.opened, keep);
e.stopPropagation();
+ e.preventDefault();
};
root && root.appendChild(FormattedTextBoxComment.tooltip);
}