Skip to content

Commit

Permalink
Change event name to rte.shortcut.saveAndPublish
Browse files Browse the repository at this point in the history
  • Loading branch information
Rick Butterfield authored and nathanwoulfe committed Oct 27, 2021
1 parent 976711e commit ed16728
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@
}
}));

evts.push(eventsService.on("rte.shortcut.publish", function () {
evts.push(eventsService.on("rte.shortcut.saveAndPublish", function () {
$scope.saveAndPublish();
}));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1223,7 +1223,7 @@ function tinyMceService($rootScope, $q, imageHelper, $locale, $http, $timeout, s

editor.addShortcut('Ctrl+P', '', function () {
angularHelper.safeApply($rootScope, function () {
eventsService.emit("rte.shortcut.publish");
eventsService.emit("rte.shortcut.saveAndPublish");
});
});

Expand Down

0 comments on commit ed16728

Please sign in to comment.