0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00

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 ec84ea1232
commit 59295487dc

View file

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