Add Save shortcut
This commit is contained in:
@@ -26,7 +26,10 @@
|
||||
textarea.focus();
|
||||
}
|
||||
|
||||
var form = textarea.closest('form');
|
||||
|
||||
var actions = {
|
||||
save: function () { form.submit(); },
|
||||
bold: function () { wrap('**', '**', 'bold text'); },
|
||||
italic: function () { wrap('*', '*', 'italic text'); },
|
||||
h1: function () { linePrefix('# '); },
|
||||
|
||||
Reference in New Issue
Block a user