mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Bug Fix: Date Keyboard Shortcut no-longer crashes the browser
This commit is contained in:
parent
939dba0468
commit
67132ff28b
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue