diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2019-03-11 20:46:22 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2019-03-11 20:46:22 -0400 |
commit | eb1c48dc6ff1403372f820d07b46c08f58cc7306 (patch) | |
tree | 2e8d19a0ad5a391d4c231a823033c0b3fdf5f9e1 /src/client/views/nodes/FormattedTextBox.tsx | |
parent | 151566e396249991e24d49b3db5c246431e62262 (diff) |
added modifier options for macbook
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 ad7ddf37a..5c7aaf9fe 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(); } } |