From 48a577dec6eb2073b535a3cb26c7eb7ecc835d00 Mon Sep 17 00:00:00 2001 From: Tomasz Jakut Date: Wed, 17 Nov 2021 14:41:23 +0100 Subject: [PATCH] Revert "Merge pull request #4852 from ckeditor/t/4761" This reverts commit 70649e5cd8b1afedba2aeb18017aed4e6227c911, reversing changes made to 92173c63f7464b02985888bfeeb4ed80c89b4c94. --- CHANGES.md | 1 - core/config.js | 6 +- core/dom/document.js | 4 - core/tools.js | 7 +- tests/core/ckeditor/geturl.js | 157 ------------------------- tests/core/ckeditor/manual/geturl.html | 13 -- tests/core/ckeditor/manual/geturl.md | 10 -- tests/core/dom/document.js | 33 +----- tests/core/tools.js | 74 ------------ 9 files changed, 7 insertions(+), 298 deletions(-) delete mode 100644 tests/core/ckeditor/geturl.js delete mode 100644 tests/core/ckeditor/manual/geturl.html delete mode 100644 tests/core/ckeditor/manual/geturl.md diff --git a/CHANGES.md b/CHANGES.md index 7e2a81e5a0b..0391f148fd7 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -60,7 +60,6 @@ API Changes: * [#4462](https://github.com/ckeditor/ckeditor4/issues/4462): [`CKEDITOR.editor#getSelection()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-getSelection) now returns `null` if the editor is in recreating state. * [#4583](https://github.com/ckeditor/ckeditor4/issues/4583): Added support for new, comma-less color syntax to [`CKEDITOR.tools.color`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools_color.html). * [#4604](https://github.com/ckeditor/ckeditor4/issues/4604): Added the [`CKEDITOR.plugins.clipboard.dataTransfer#isFileTransfer()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_clipboard_dataTransfer.html#method-isFileTransfer) method. -* [#4761](https://github.com/ckeditor/ckeditor4/issues/4761): [`CKEDITOR.dom.document#appendStyleSheet()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_document.html#method-appendStyleSheet) and [`CKEDITOR.tools.buildStyleHtml()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools.html#method-buildStyleHtml) now use [`CKEDITOR.getUrl()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.html#method-getUrl) to correctly handle caching of CSS files. * [#4790](https://github.com/ckeditor/ckeditor4/issues/4790): Added `callback` parameter to [`CKEDITOR.plugins.preview#createPreview()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_preview.html#method-createPreview) method. Other Changes: diff --git a/core/config.js b/core/config.js index 7bf6e36f4f7..1ebc0535554 100644 --- a/core/config.js +++ b/core/config.js @@ -287,7 +287,7 @@ CKEDITOR.config = { /** * The CSS file(s) to be used to apply style to editor content. It should * reflect the CSS used in the target pages where the content is to be - * displayed. Every URL is passed through {@link CKEDITOR#getUrl} function. + * displayed. * * **Note:** This configuration value is used only in {@glink guide/dev_framed `