diff options
author | Hannah Chow <hannah_chow@brown.edu> | 2019-03-11 23:50:04 -0400 |
---|---|---|
committer | Hannah Chow <hannah_chow@brown.edu> | 2019-03-11 23:50:04 -0400 |
commit | 888dd6f51befd156b24a3c60d56d8e5823e621ad (patch) | |
tree | b6082a04695306357c379c0dcbffd0241e18d649 /src/client/views/nodes/FormattedTextBox.tsx | |
parent | e5c0eab1b3896cf28b6f54f5893d2998b70ef9af (diff) | |
parent | a680579f74380eb016f0ffd61b3818d0850984b5 (diff) |
origin merged
Diffstat (limited to 'src/client/views/nodes/FormattedTextBox.tsx')
-rw-r--r-- | src/client/views/nodes/FormattedTextBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/FormattedTextBox.tsx b/src/client/views/nodes/FormattedTextBox.tsx index 521b0324e..f5d4c030b 100644 --- a/src/client/views/nodes/FormattedTextBox.tsx +++ b/src/client/views/nodes/FormattedTextBox.tsx @@ -113,7 +113,7 @@ export class FormattedTextBox extends React.Component<FieldViewProps> { this.props.doc.SetData(this.props.fieldKey, e.target.value, RichTextField); } onPointerDown = (e: React.PointerEvent): void => { - if (e.buttons === 1 && this.props.isSelected()) { + if (e.buttons === 1 && this.props.isSelected() && !e.altKey) { e.stopPropagation(); } } |