-
Bug
-
Resolution: Fixed
-
Minor
-
2.7, 2.8, 2.9
-
MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
-
MOODLE_27_STABLE, MOODLE_28_STABLE
-
MDL-47166-master -
I took the liberty to create a new bug since my last comment on MDL-44216 went unoticed.
In moodle master branch (and 2.7 too) , the Indent button order is still INDENT/OUTDENT and, as raised by Frédéric in MDL-44216, this should be reversed for consistency.
/lib/editor/atto/plugins/indent/yui/src/button/js/button.js |
Y.namespace('M.atto_indent').Button = Y.Base.create('button', Y.M.editor_atto.EditorPlugin, [], {
|
initializer: function() {
|
this.addButton({
|
icon: 'e/increase_indent',
|
title: 'indent',
|
buttonName: 'indent',
|
callback: this.indent
|
});
|
|
this.addButton({
|
icon: 'e/decrease_indent',
|
title: 'outdent',
|
buttonName: 'outdent',
|
callback: this.outdent
|
});
|
},
|
By reversing the two addButton statement, we get the correct order.
- has a clone
-
MDL-44216 Atto: Invert indent/outdent buttons
- Closed