diff --git a/packages/react-filerobot-image-editor/src/utils/deepMerge.js b/packages/react-filerobot-image-editor/src/utils/deepMerge.js index 5aff35f0..c922e584 100644 --- a/packages/react-filerobot-image-editor/src/utils/deepMerge.js +++ b/packages/react-filerobot-image-editor/src/utils/deepMerge.js @@ -8,6 +8,7 @@ const deepMerge = (source, object = {}, considerArray = false) => { const valType = typeof val; if ( valType !== 'object' || + val instanceof HTMLElement || val === null || Array.isArray(val) || !source[k] ||