mirror of
https://github.com/danpros/htmly.git
synced 2026-04-22 05:26:22 +05:30
Add key CTRL+M (Read More) to editor bar
This commit is contained in:
parent
9540cebb09
commit
8677f82d60
1 changed files with 5 additions and 2 deletions
|
|
@ -47,7 +47,7 @@
|
|||
|
||||
hr: "Horizontal Rule <hr> Ctrl+R",
|
||||
|
||||
readmore: "Read More Link",
|
||||
readmore: "Read More <!--more--> Ctrl+M",
|
||||
|
||||
undo: "Undo - Ctrl+Z",
|
||||
redo: "Redo - Ctrl+Y",
|
||||
|
|
@ -1284,6 +1284,9 @@
|
|||
case "r":
|
||||
doClick(buttons.hr);
|
||||
break;
|
||||
case "m":
|
||||
doClick(buttons.readmore);
|
||||
break;
|
||||
case "y":
|
||||
doClick(buttons.redo);
|
||||
break;
|
||||
|
|
@ -1486,7 +1489,7 @@
|
|||
}));
|
||||
buttons.heading = makeButton("wmd-heading-button", getString("heading"), "fa fa-header", bindCommand("doHeading"));
|
||||
buttons.hr = makeButton("wmd-hr-button", getString("hr"), "fa fa-ellipsis-h", bindCommand("doHorizontalRule"));
|
||||
buttons.readmore= makeButton("wmd-readmore-button", getString("readmore"), "fa fa-arrow-right", bindCommand("doReadMore"));
|
||||
buttons.readmore = makeButton("wmd-readmore-button", getString("readmore"), "fa fa-arrow-right", bindCommand("doReadMore"));
|
||||
makeSpacer(3);
|
||||
buttons.undo = makeButton("wmd-undo-button", getString("undo"), "fa fa-undo", null);
|
||||
buttons.undo.execute = function (manager) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue