From 041025dd9166c4c1e8a76193ea01c322e528f57d Mon Sep 17 00:00:00 2001
From: catch <catch@35733.no-reply.drupal.org>
Date: Fri, 22 Nov 2019 09:51:28 +0000
Subject: [PATCH] Issue #3094047 by dww: @see links in ckeditor module point to
 deprecated version of docs

(cherry picked from commit ea29d9824b9b8bd1f3c093a11a84ecf125cf82f2)
---
 core/modules/ckeditor/js/ckeditor.stylescombo.admin.es6.js    | 2 +-
 core/modules/ckeditor/src/CKEditorPluginInterface.php         | 4 ++--
 .../ckeditor/src/Plugin/CKEditorPlugin/StylesCombo.php        | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/core/modules/ckeditor/js/ckeditor.stylescombo.admin.es6.js b/core/modules/ckeditor/js/ckeditor.stylescombo.admin.es6.js
index bfc0fda39816..b87e6b318605 100644
--- a/core/modules/ckeditor/js/ckeditor.stylescombo.admin.es6.js
+++ b/core/modules/ckeditor/js/ckeditor.stylescombo.admin.es6.js
@@ -92,7 +92,7 @@
         const element = classes.shift();
 
         // Build the data structure CKEditor's stylescombo plugin expects.
-        // @see http://docs.cksource.com/CKEditor_3.x/Developers_Guide/Styles
+        // @see https://ckeditor.com/docs/ckeditor4/latest/guide/dev_howtos_styles.html
         stylesSet.push({
           attributes: { class: classes.join(' ') },
           element,
diff --git a/core/modules/ckeditor/src/CKEditorPluginInterface.php b/core/modules/ckeditor/src/CKEditorPluginInterface.php
index 543a112dfb63..a5052dce61f6 100644
--- a/core/modules/ckeditor/src/CKEditorPluginInterface.php
+++ b/core/modules/ckeditor/src/CKEditorPluginInterface.php
@@ -68,8 +68,8 @@ public function getLibraries(Editor $editor);
   /**
    * Returns the Drupal root-relative file path to the plugin JavaScript file.
    *
-   * Note: this does not use a Drupal library because this uses CKEditor's API,
-   * see http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.resourceManager.html#addExternal.
+   * Note: this does not use a Drupal library because this uses CKEditor's API.
+   * @see https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_resourceManager.html#method-addExternal
    *
    * @return string|false
    *   The Drupal root-relative path to the file, FALSE if an internal plugin.
diff --git a/core/modules/ckeditor/src/Plugin/CKEditorPlugin/StylesCombo.php b/core/modules/ckeditor/src/Plugin/CKEditorPlugin/StylesCombo.php
index 5e45bde77742..dc7595a67ddf 100644
--- a/core/modules/ckeditor/src/Plugin/CKEditorPlugin/StylesCombo.php
+++ b/core/modules/ckeditor/src/Plugin/CKEditorPlugin/StylesCombo.php
@@ -150,7 +150,7 @@ protected function generateStylesSetSetting($styles) {
       $element = array_shift($classes);
 
       // Build the data structure CKEditor's stylescombo plugin expects.
-      // @see http://docs.cksource.com/CKEditor_3.x/Developers_Guide/Styles
+      // @see https://ckeditor.com/docs/ckeditor4/latest/guide/dev_howtos_styles.html
       $configured_style = [
         'name' => trim($label),
         'element' => trim($element),
-- 
GitLab