Skip to content
Snippets Groups Projects
Unverified Commit bd122d22 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3255077 by JoshaHubbers, Gauravmahlawat, beatrizrodrigues: Small typos in CKEditor 5 module

parent 0107a8bd
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
......@@ -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);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment