diff --git a/lib/editor/atto/yui/build/moodle-editor_atto-plugin/moodle-editor_atto-plugin-debug.js b/lib/editor/atto/yui/build/moodle-editor_atto-plugin/moodle-editor_atto-plugin-debug.js index e5677866e90..da400f24527 100644 --- a/lib/editor/atto/yui/build/moodle-editor_atto-plugin/moodle-editor_atto-plugin-debug.js +++ b/lib/editor/atto/yui/build/moodle-editor_atto-plugin/moodle-editor_atto-plugin-debug.js @@ -327,6 +327,7 @@ EditorPluginButtons.prototype = { * specified, in the class for the button. * @param {function} config.callback A callback function to call when the button is clicked. * @param {object} [config.callbackArgs] Any arguments to pass to the callback. + * @param {boolean} [config.inlineFormat] Delay callback for text input if selection is collapsed. * @return {Node} The Node representing the newly created button. */ addButton: function(config) { @@ -490,6 +491,7 @@ EditorPluginButtons.prototype = { * specified, in the class for the button. * @param {function} config.callback A callback function to call when the button is clicked. * @param {object} [config.callbackArgs] Any arguments to pass to the callback. + * @param {boolean} [config.inlineFormat] Delay callback for text input if selection is collapsed. * @param {array} config.entries List of menu entries with the string (entry.text) and the handlers (entry.handler). * @param {number} [config.overlayWidth=14] The width of the menu. This will be suffixed with the 'em' unit. * @param {string} [config.menuColor] menu icon background color @@ -675,6 +677,7 @@ EditorPluginButtons.prototype = { * @param {object} config * @param {function} config.callback A callback function to call when the button is clicked. * @param {object} [config.callbackArgs] Any arguments to pass to the callback. + * @param {boolean} [config.inlineFormat] Delay callback for text input if selection is collapsed. * @param {object} [inheritFrom] A parent configuration that this configuration may inherit from. * @return {object} The normalized configuration * @private diff --git a/lib/editor/atto/yui/build/moodle-editor_atto-plugin/moodle-editor_atto-plugin.js b/lib/editor/atto/yui/build/moodle-editor_atto-plugin/moodle-editor_atto-plugin.js index 5c75d0651a2..6cedbfa2b8d 100644 --- a/lib/editor/atto/yui/build/moodle-editor_atto-plugin/moodle-editor_atto-plugin.js +++ b/lib/editor/atto/yui/build/moodle-editor_atto-plugin/moodle-editor_atto-plugin.js @@ -327,6 +327,7 @@ EditorPluginButtons.prototype = { * specified, in the class for the button. * @param {function} config.callback A callback function to call when the button is clicked. * @param {object} [config.callbackArgs] Any arguments to pass to the callback. + * @param {boolean} [config.inlineFormat] Delay callback for text input if selection is collapsed. * @return {Node} The Node representing the newly created button. */ addButton: function(config) { @@ -488,6 +489,7 @@ EditorPluginButtons.prototype = { * specified, in the class for the button. * @param {function} config.callback A callback function to call when the button is clicked. * @param {object} [config.callbackArgs] Any arguments to pass to the callback. + * @param {boolean} [config.inlineFormat] Delay callback for text input if selection is collapsed. * @param {array} config.entries List of menu entries with the string (entry.text) and the handlers (entry.handler). * @param {number} [config.overlayWidth=14] The width of the menu. This will be suffixed with the 'em' unit. * @param {string} [config.menuColor] menu icon background color @@ -673,6 +675,7 @@ EditorPluginButtons.prototype = { * @param {object} config * @param {function} config.callback A callback function to call when the button is clicked. * @param {object} [config.callbackArgs] Any arguments to pass to the callback. + * @param {boolean} [config.inlineFormat] Delay callback for text input if selection is collapsed. * @param {object} [inheritFrom] A parent configuration that this configuration may inherit from. * @return {object} The normalized configuration * @private diff --git a/lib/editor/atto/yui/src/editor/js/editor-plugin-buttons.js b/lib/editor/atto/yui/src/editor/js/editor-plugin-buttons.js index 240efbf1d13..b7f5effdbf9 100644 --- a/lib/editor/atto/yui/src/editor/js/editor-plugin-buttons.js +++ b/lib/editor/atto/yui/src/editor/js/editor-plugin-buttons.js @@ -177,6 +177,7 @@ EditorPluginButtons.prototype = { * specified, in the class for the button. * @param {function} config.callback A callback function to call when the button is clicked. * @param {object} [config.callbackArgs] Any arguments to pass to the callback. + * @param {boolean} [config.inlineFormat] Delay callback for text input if selection is collapsed. * @return {Node} The Node representing the newly created button. */ addButton: function(config) { @@ -340,6 +341,7 @@ EditorPluginButtons.prototype = { * specified, in the class for the button. * @param {function} config.callback A callback function to call when the button is clicked. * @param {object} [config.callbackArgs] Any arguments to pass to the callback. + * @param {boolean} [config.inlineFormat] Delay callback for text input if selection is collapsed. * @param {array} config.entries List of menu entries with the string (entry.text) and the handlers (entry.handler). * @param {number} [config.overlayWidth=14] The width of the menu. This will be suffixed with the 'em' unit. * @param {string} [config.menuColor] menu icon background color @@ -525,6 +527,7 @@ EditorPluginButtons.prototype = { * @param {object} config * @param {function} config.callback A callback function to call when the button is clicked. * @param {object} [config.callbackArgs] Any arguments to pass to the callback. + * @param {boolean} [config.inlineFormat] Delay callback for text input if selection is collapsed. * @param {object} [inheritFrom] A parent configuration that this configuration may inherit from. * @return {object} The normalized configuration * @private