From 9ea9e96150432ae1909ace77e88053adc2c67710 Mon Sep 17 00:00:00 2001 From: Anna Tomanek Date: Tue, 24 Sep 2019 16:48:08 +0200 Subject: [PATCH] CKEditor 4.13 API docs corrected. --- core/resourcemanager.js | 4 ++-- plugins/clipboard/plugin.js | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/core/resourcemanager.js b/core/resourcemanager.js index 3d8f3ca1f50..eaea3226212 100644 --- a/core/resourcemanager.js +++ b/core/resourcemanager.js @@ -124,7 +124,7 @@ CKEDITOR.resourceManager.prototype = { * Registers one or more resources to be loaded from an external path * instead of the core base path. * - * ```javascript + * ```js * // Loads a plugin from '/myplugins/sample/plugin.js'. * CKEDITOR.plugins.addExternal( 'sample', '/myplugins/sample/' ); * @@ -143,7 +143,7 @@ CKEDITOR.resourceManager.prototype = { * @param {String} [fileName] The resource file name. If not provided and * the `path` argument ends with a slash (`/`), the default `plugin.js` filename is used. * Otherwise, if not provided and the `path` argument does not end with a slash (`/`) - * or if an empty string provided the function assumes that the `path` argument contains a full path. + * or if an empty string is provided, the function assumes that the `path` argument contains the full path. */ addExternal: function( names, path, fileName ) { // If "fileName" is not provided, we assume that it may be available diff --git a/plugins/clipboard/plugin.js b/plugins/clipboard/plugin.js index 0b234c57d3b..e27794c1759 100644 --- a/plugins/clipboard/plugin.js +++ b/plugins/clipboard/plugin.js @@ -1633,9 +1633,9 @@ */ CKEDITOR.plugins.clipboard = { /** - * True if the environment allows to set data on copy or cut manually. This value is false in IE, because this browser - * shows the security dialog window when the script tries to set clipboard data and on older iOS (below version 13), - * because custom data is not saved to clipboard there. + * It returns `true` if the environment allows to set the data on copy or cut manually. This value is `false` in: + * * Internet Explorer — because this browser shows the security dialog window when the script tries to set clipboard data. + * * Older iOS (below version 13) — because custom data is not saved to clipboard there. * * @since 4.5.0 * @readonly