mirror of
https://github.com/redmine/redmine.git
synced 2025-11-18 03:00:52 +01:00
Add keyboard shortcuts for bold, italic and underline buttons (#34549).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@20729 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
jsToolBar.prototype.elements.strong = {
|
||||
type: 'button',
|
||||
title: 'Strong',
|
||||
shortcut: 'b',
|
||||
fn: {
|
||||
wiki: function() { this.singleTag('**') }
|
||||
}
|
||||
@@ -35,6 +36,7 @@ jsToolBar.prototype.elements.strong = {
|
||||
jsToolBar.prototype.elements.em = {
|
||||
type: 'button',
|
||||
title: 'Italic',
|
||||
shortcut: 'i',
|
||||
fn: {
|
||||
wiki: function() { this.singleTag("*") }
|
||||
}
|
||||
@@ -44,6 +46,7 @@ jsToolBar.prototype.elements.em = {
|
||||
jsToolBar.prototype.elements.ins = {
|
||||
type: 'button',
|
||||
title: 'Underline',
|
||||
shortcut: 'u',
|
||||
fn: {
|
||||
wiki: function() { this.singleTag('_') }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user