mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 06:35:49 +03:00
Bug Fix: Date Keyboard Shortcut no-longer crashes the browser
This commit is contained in:
parent
939dba0468
commit
67132ff28b
@ -113,6 +113,8 @@
|
||||
break;
|
||||
case "currentDate":
|
||||
md = moment(new Date()).format("D MMMM YYYY");
|
||||
this.elem.replaceSelection(md, "end");
|
||||
pass = false;
|
||||
break;
|
||||
default:
|
||||
if (this.options.syntax[this.style]) {
|
||||
|
Loading…
Reference in New Issue
Block a user