From bd122d22088d54b8544cc72785c3fb934164583c Mon Sep 17 00:00:00 2001
From: Alex Pott <alex.a.pott@googlemail.com>
Date: Thu, 13 Jan 2022 00:14:47 +0000
Subject: [PATCH] Issue #3255077 by JoshaHubbers, Gauravmahlawat,
 beatrizrodrigues: Small typos in CKEditor 5 module

---
 core/modules/ckeditor5/js/ckeditor5.filter.admin.es6.js | 4 ++--
 core/modules/ckeditor5/js/ckeditor5.filter.admin.js     | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/core/modules/ckeditor5/js/ckeditor5.filter.admin.es6.js b/core/modules/ckeditor5/js/ckeditor5.filter.admin.es6.js
index 0e837f7f8326..69b8643905de 100644
--- a/core/modules/ckeditor5/js/ckeditor5.filter.admin.es6.js
+++ b/core/modules/ckeditor5/js/ckeditor5.filter.admin.es6.js
@@ -60,7 +60,7 @@
               const description = document.createElement('p');
 
               description.innerText = Drupal.t(
-                'Switching to CKEditor 5 requires, at minimum, the tags "<p> <br>". After switching to CKEditor 5, this field will be read only, and will be updated based on which CKEditor 5 plugins are enabled. When switching to CKEditor 5 from an existing text format with content, we recommend documenting what tags are in use and then enabling the CKEditor 5 tags that support them.',
+                'Switching to CKEditor 5 requires, at minimum, the tags "<p> <br>". After switching to CKEditor 5, this field will be read-only, and will be updated based on which CKEditor 5 plugins are enabled. When switching to CKEditor 5 from an existing text format with content, we recommend documenting what tags are in use and then enabling the CKEditor 5 plugins that support them.',
               );
 
               const updateButton = document.createElement('button');
@@ -99,7 +99,7 @@
                 true,
               );
               formSubmitHelp.textContent = Drupal.t(
-                'This form is not submittable when the editor is set to CKEditor 5 unless the "Limit allowed HTML tags and correct faulty HTML" filter\'s "Allowed HTML tags" field includes the tags required by CKEDitor 5',
+                'This form is not submittable when the editor is set to CKEditor 5 unless the "Limit allowed HTML tags and correct faulty HTML" filter\'s "Allowed HTML tags" field includes the tags required by CKEditor 5',
               );
               formSubmit.parentNode.append(formSubmitHelp);
             }
diff --git a/core/modules/ckeditor5/js/ckeditor5.filter.admin.js b/core/modules/ckeditor5/js/ckeditor5.filter.admin.js
index c375fa50eb9f..dc2b46b46ce5 100644
--- a/core/modules/ckeditor5/js/ckeditor5.filter.admin.js
+++ b/core/modules/ckeditor5/js/ckeditor5.filter.admin.js
@@ -42,7 +42,7 @@
               const container = document.createElement('div');
               container.setAttribute('data-ckeditor5-allowed-tags-info', true);
               const description = document.createElement('p');
-              description.innerText = Drupal.t('Switching to CKEditor 5 requires, at minimum, the tags "<p> <br>". After switching to CKEditor 5, this field will be read only, and will be updated based on which CKEditor 5 plugins are enabled. When switching to CKEditor 5 from an existing text format with content, we recommend documenting what tags are in use and then enabling the CKEditor 5 tags that support them.');
+              description.innerText = Drupal.t('Switching to CKEditor 5 requires, at minimum, the tags "<p> <br>". After switching to CKEditor 5, this field will be read-only, and will be updated based on which CKEditor 5 plugins are enabled. When switching to CKEditor 5 from an existing text format with content, we recommend documenting what tags are in use and then enabling the CKEditor 5 plugins that support them.');
               const updateButton = document.createElement('button');
               updateButton.setAttribute('name', 'update-ckeditor5-allowed-tags');
               updateButton.innerText = Drupal.t('Apply changes to allowed tags.');
@@ -58,7 +58,7 @@
               formSubmit.setAttribute('disabled', true);
               const formSubmitHelp = document.createElement('p');
               formSubmitHelp.setAttribute('data-ckeditor5-allowed-tags-disabled-help', true);
-              formSubmitHelp.textContent = Drupal.t('This form is not submittable when the editor is set to CKEditor 5 unless the "Limit allowed HTML tags and correct faulty HTML" filter\'s "Allowed HTML tags" field includes the tags required by CKEDitor 5');
+              formSubmitHelp.textContent = Drupal.t('This form is not submittable when the editor is set to CKEditor 5 unless the "Limit allowed HTML tags and correct faulty HTML" filter\'s "Allowed HTML tags" field includes the tags required by CKEditor 5');
               formSubmit.parentNode.append(formSubmitHelp);
             }
           }
-- 
GitLab