diff --git a/core/modules/ckeditor/js/ckeditor.js b/core/modules/ckeditor/js/ckeditor.js index 3c03e58..0ae06ef 100644 --- a/core/modules/ckeditor/js/ckeditor.js +++ b/core/modules/ckeditor/js/ckeditor.js @@ -21,8 +21,7 @@ * The text format for the editor. * * @return {bool} - * True if the `CKEDITOR.replace()` call created an editor, false - * otherwise. + * Whether the call to `CKEDITOR.replace()` created an editor or not. */ attach: function (element, format) { this._loadExternalPlugins(format); @@ -57,7 +56,8 @@ * The event trigger for the detach. * * @return {bool} - * True if an editor was found, false otherwise. + * Whether the call to `CKEDITOR.dom.element.get(element).getEditor()` + * found an editor or not. */ detach: function (element, format, trigger) { var editor = CKEDITOR.dom.element.get(element).getEditor(); @@ -82,7 +82,8 @@ * Callback called with the value of the editor. * * @return {bool} - * True if an editor was found, false otherwise. + * Whether the call to `CKEDITOR.dom.element.get(element).getEditor()` + * found an editor or not. */ onChange: function (element, callback) { var editor = CKEDITOR.dom.element.get(element).getEditor(); @@ -107,8 +108,7 @@ * The id attribute for the floated editor toolbar, if any. * * @return {bool} - * True if the `CKEDITOR.inline()` call created an editor, false - * otherwise. + * Whether the call to `CKEDITOR.replace()` created an editor or not. */ attachInlineEditor: function (element, format, mainToolbarId, floatedToolbarId) { this._loadExternalPlugins(format);