diff options
author | Jacob Schatz <jschatz1@gmail.com> | 2016-03-10 01:50:22 +0000 |
---|---|---|
committer | Jacob Schatz <jschatz1@gmail.com> | 2016-03-10 01:50:22 +0000 |
commit | 60d0a20b3a0077df6404ad9ef02f1a2963ed4c02 (patch) | |
tree | cf122ee677415a6891c60c244766680bdc3e288d /spec/finders | |
parent | d9042e8b399608fa189ffdb02efa8de30604088d (diff) | |
parent | a5079d219548c4e94eb78953811158c346225174 (diff) | |
download | gitlab-ce-60d0a20b3a0077df6404ad9ef02f1a2963ed4c02.tar.gz |
Merge branch 'markdown_preview_shortcut' into 'master'
Add shortcut to toggle markdown preview
Allow to toggle markdown preview with shortcut `ctrl+shift+p` (`cmd+shift+p` on OSX).
- If the user is focused on a md textarea, `ctrl-shift-p` will show the preview, otherwise native browser event is fired
- The textarea is re-focused after disabling the preview tab
- Results of markdown render is cached for fast toggles
I'm on linux, so if someone can test it on OS X, it would be great!
Closes #14038
See merge request !3111
Diffstat (limited to 'spec/finders')
0 files changed, 0 insertions, 0 deletions