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