mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 06:35:49 +03: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:
parent
ce2c7b5341
commit
2aded98a3c
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user