Add hotkey support using mousetrap.
This commit is contained in:
bootstraponline
2012-07-18 14:17:50 -06:00
parent dc9f6ac709
commit 80fdea7bfb
3 changed files with 16 additions and 7 deletions
@@ -88,7 +88,7 @@
</div>
</div>
<textarea id="gollum-editor-body"
data-markup-lang="{{format}}" name="content">{{content}}</textarea>
data-markup-lang="{{format}}" name="content" class="mousetrap">{{content}}</textarea>
{{#header}}
<div id="gollum-editor-edit-header" class="collapsed">