From 2cf73cc6d8e27513ac7c4fae690edbeb05787738 Mon Sep 17 00:00:00 2001 From: Mateusz Samsel Date: Mon, 20 Jan 2020 17:01:30 +0100 Subject: [PATCH 1/2] Add miissing docs description. --- plugins/pastetools/plugin.js | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/pastetools/plugin.js b/plugins/pastetools/plugin.js index 1bbc4c0cc61..6bdbc0cf4d6 100644 --- a/plugins/pastetools/plugin.js +++ b/plugins/pastetools/plugin.js @@ -81,6 +81,7 @@ * @param {String[]} filters An array of filter URLs. * @param {Function} callback A callback that will be invoked after loading all scripts. * @member CKEDITOR.plugins.pastetools + * @returns {Boolean} Return `true` when there is no filter to load. */ loadFilters: loadFilters, From 8ce1080c7d986a5bb4b6d4fe4879838b5b81deae Mon Sep 17 00:00:00 2001 From: Tomasz Jakut Date: Mon, 17 Feb 2020 11:49:42 +0100 Subject: [PATCH 2/2] Add info when false is returned. Slightly reworded. [ci skip] --- plugins/pastetools/plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/pastetools/plugin.js b/plugins/pastetools/plugin.js index 6bdbc0cf4d6..5cd70ddcaac 100644 --- a/plugins/pastetools/plugin.js +++ b/plugins/pastetools/plugin.js @@ -80,8 +80,8 @@ * * @param {String[]} filters An array of filter URLs. * @param {Function} callback A callback that will be invoked after loading all scripts. + * @returns {Boolean} Returns `true` when there is no filters to load, `false` otherwise. * @member CKEDITOR.plugins.pastetools - * @returns {Boolean} Return `true` when there is no filter to load. */ loadFilters: loadFilters,