Merge pull request #1863 from Carreau/rtl-action-toggle

Add a quick action to have the possibility to toggle rtl-layout.
pull/1868/head
Matthias Bussonnier 10 years ago committed by GitHub
commit 8d666c603f

@ -62,6 +62,12 @@ define(function(require){
*
**/
var _actions = {
'toggle-rtl-layout': {
help: 'Open a dialog to edit the command mode keyboard shortcuts',
handler: function () {
(document.body.getAttribute('dir')=='rtl') ? document.body.setAttribute('dir','ltr') : document.body.setAttribute('dir','rtl');
}
},
'edit-command-mode-keyboard-shortcuts': {
help: 'Open a dialog to edit the command mode keyboard shortcuts',
handler: function (env) {

Loading…
Cancel
Save