Issue #3427200 by gedvan, Wim Leers: CKEditor 5: Javascript error when plugin settings has NULL value

(cherry picked from commit 695c6a53ca)
merge-requests/7287/head
Alex Pott 2024-03-25 10:29:28 +00:00
parent fce65ce3aa
commit 0590956f51
No known key found for this signature in database
GPG Key ID: BDA67E7EE836E5CE
1 changed files with 4 additions and 0 deletions

View File

@ -116,6 +116,10 @@
});
}
if (config === null) {
return null;
}
return Object.entries(config).reduce((processed, [key, value]) => {
if (typeof value === 'object') {
// Check for null values.