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
parent
fce65ce3aa
commit
0590956f51
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue