Changing unordered list key combo from ctrl-u to ctrl-period since it collided with underline's key.
This commit is contained in:
parent
e2d85b79a5
commit
bbc3f11914
|
@ -449,8 +449,8 @@ Wiki.prototype.editor_key_pressed = function ( editor, event ) {
|
|||
// ctrl-t: title
|
||||
} else if ( code == 84 ) {
|
||||
this.toggle_button( event, "title", "h3" );
|
||||
// ctrl-u: unordered list
|
||||
} else if ( code == 85 ) {
|
||||
// ctrl-period: unordered list
|
||||
} else if ( code == 190 ) {
|
||||
this.toggle_button( event, "insertUnorderedList" );
|
||||
// ctrl-n: ordered list
|
||||
} else if ( code == 49 ) {
|
||||
|
|
|
@ -10,7 +10,7 @@ class Toolbar( Div ):
|
|||
Li( Input( type = u"button", value = u"I", id = u"italic", title = u"italic [ctrl-I]", class_ = u"button" ) ),
|
||||
Li( Input( type = u"button", value = u"U", id = u"underline", title = u"underline [ctrl-U]", class_ = u"button" ) ),
|
||||
Li( Input( type = u"button", value = u"T", id = u"title", title = u"title [ctrl-T]", class_ = u"button" ) ),
|
||||
Li( Input( type = u"button", value = u"•", id = u"insertUnorderedList", title = u"unordered list [ctrl-U]", class_ = u"button" ) ),
|
||||
Li( Input( type = u"button", value = u"•", id = u"insertUnorderedList", title = u"bullet list [ctrl-period]", class_ = u"button" ) ),
|
||||
Li( Input( type = u"button", value = u"1.", id = u"insertOrderedList", title = u"numbered list [ctrl-1]", class_ = u"button" ) ),
|
||||
Li( Input( type = u"button", value = u"→", id = u"createLink", title = u"note link [ctrl-L]", class_ = u"button" ) ),
|
||||
Li( Input( type = u"button", value = u"+", id = u"newNote", title = u"new note [ctrl-N]", class_ = u"button" ) ),
|
||||
|
|
Reference in New Issue