Issue/1007: Corrected the behaviour of the HOME and END keys on the CodeMirror editor by overriding their calls in the extraKeys config of the editor

This commit is contained in:
StevenMcD 2013-10-16 23:46:13 +02:00
parent ce2c7b5341
commit 2aded98a3c

View File

@ -410,7 +410,11 @@
tabMode: 'indent', tabMode: 'indent',
tabindex: "2", tabindex: "2",
lineWrapping: true, lineWrapping: true,
dragDrop: false dragDrop: false,
extraKeys: {
Home: "goLineLeft",
End: "goLineRight"
}
}); });
this.uploadMgr = new UploadManager(this.editor); this.uploadMgr = new UploadManager(this.editor);