diff --git a/lib/editor/atto/plugins/rtl/yui/build/moodle-atto_rtl-button/moodle-atto_rtl-button-debug.js b/lib/editor/atto/plugins/rtl/yui/build/moodle-atto_rtl-button/moodle-atto_rtl-button-debug.js index 88f3f6c4ee6..ba14c132c16 100644 --- a/lib/editor/atto/plugins/rtl/yui/build/moodle-atto_rtl-button/moodle-atto_rtl-button-debug.js +++ b/lib/editor/atto/plugins/rtl/yui/build/moodle-atto_rtl-button/moodle-atto_rtl-button-debug.js @@ -67,7 +67,10 @@ Y.namespace('M.atto_rtl').Button = Y.Base.create('button', Y.M.editor_atto.Edito var host = this.get('host'), sourceSelection = rangy.saveSelection(), selection = host.getSelection(), - newDirection = { rtl: 'ltr', ltr: 'rtl' }; + newDirection = { + rtl: 'ltr', + ltr: 'rtl' + }; if (selection) { // Format the selection to be sure it has a tag parent (not the contenteditable). var parentNode = host.formatSelectionBlock(), diff --git a/lib/editor/atto/plugins/rtl/yui/build/moodle-atto_rtl-button/moodle-atto_rtl-button.js b/lib/editor/atto/plugins/rtl/yui/build/moodle-atto_rtl-button/moodle-atto_rtl-button.js index 88f3f6c4ee6..ba14c132c16 100644 --- a/lib/editor/atto/plugins/rtl/yui/build/moodle-atto_rtl-button/moodle-atto_rtl-button.js +++ b/lib/editor/atto/plugins/rtl/yui/build/moodle-atto_rtl-button/moodle-atto_rtl-button.js @@ -67,7 +67,10 @@ Y.namespace('M.atto_rtl').Button = Y.Base.create('button', Y.M.editor_atto.Edito var host = this.get('host'), sourceSelection = rangy.saveSelection(), selection = host.getSelection(), - newDirection = { rtl: 'ltr', ltr: 'rtl' }; + newDirection = { + rtl: 'ltr', + ltr: 'rtl' + }; if (selection) { // Format the selection to be sure it has a tag parent (not the contenteditable). var parentNode = host.formatSelectionBlock(), diff --git a/lib/editor/atto/plugins/rtl/yui/src/button/js/button.js b/lib/editor/atto/plugins/rtl/yui/src/button/js/button.js index 0fb3d3bb845..2fb15438e66 100644 --- a/lib/editor/atto/plugins/rtl/yui/src/button/js/button.js +++ b/lib/editor/atto/plugins/rtl/yui/src/button/js/button.js @@ -65,7 +65,10 @@ Y.namespace('M.atto_rtl').Button = Y.Base.create('button', Y.M.editor_atto.Edito var host = this.get('host'), sourceSelection = rangy.saveSelection(), selection = host.getSelection(), - newDirection = { rtl: 'ltr', ltr: 'rtl' }; + newDirection = { + rtl: 'ltr', + ltr: 'rtl' + }; if (selection) { // Format the selection to be sure it has a tag parent (not the contenteditable). var parentNode = host.formatSelectionBlock(),