* Adds an IE11 compatibility warning to the message container.
* Adds IE11 compatibility warnings to the message container.
*/
constck5Warning=()=>{
constaddIE11Warning=()=>{
selectMessages.add(
Drupal.t(
'CKEditor 5 is not compatible with Internet Explorer. Text fields using CKEditor 5 will fall back to plain HTML editing without CKEditor for users of Internet Explorer.',
),
{
type:'warning',
id:'ie_11_warning',
},
);
if (isIE11){
@@ -56,6 +55,7 @@
),
{
type:'error',
id:'ie_11_error',
},
);
editorSettings.hidden=true;
@@ -63,68 +63,60 @@
};
/**
* Adds a warning if the selected editor is ckeditor5, otherwise clears
* the message container.
* Adds a warning if the selected editor is CKEditor5, otherwise clears
selectMessages.add(Drupal.t('CKEditor 5 is not compatible with Internet Explorer. Text fields using CKEditor 5 will fall back to plain HTML editing without CKEditor for users of Internet Explorer.'),{
type:'warning'
type:'warning',
id:'ie_11_warning'
});
if (isIE11){
selectMessages.add(Drupal.t('Text editor toolbar settings are not available in Internet Explorer. They will be available in other <a href="@supported-browsers">supported browsers</a>.',{