diff options
| author | Sam Wilkins <samwilkins333@gmail.com> | 2019-08-21 05:29:07 -0400 |
|---|---|---|
| committer | Sam Wilkins <samwilkins333@gmail.com> | 2019-08-21 05:29:07 -0400 |
| commit | d260d9abc13ae60c3206c3110f2d7f23ceeb2449 (patch) | |
| tree | b0db3d59f0e43e848ecac28067fd046817135b00 /src/client/views/DocumentDecorations.tsx | |
| parent | 8fa3c03f1fae853e3c626e748aef76f9b7bbc875 (diff) | |
prosemirror bulleted list dictation integration
Diffstat (limited to 'src/client/views/DocumentDecorations.tsx')
| -rw-r--r-- | src/client/views/DocumentDecorations.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx index 891fd7847..cc8e57af9 100644 --- a/src/client/views/DocumentDecorations.tsx +++ b/src/client/views/DocumentDecorations.tsx @@ -730,7 +730,8 @@ export class DocumentDecorations extends React.Component<{}, { value: string }> onPointerEnter={e => e.ctrlKey && runInAction(() => this.openHover = true)} onPointerLeave={() => runInAction(() => this.openHover = false)} onClick={e => { - if (e.ctrlKey) { + if (e.altKey) { + e.preventDefault(); window.open(`https://docs.google.com/document/d/${dataDoc[GoogleRef]}/edit`); } else { this.clearPullColor(); |
