From a5a7eeb506373c47e14df537111b7b4265b63755 Mon Sep 17 00:00:00 2001 From: Bjarne Fyrstenborg Date: Tue, 23 Mar 2021 08:42:54 +0100 Subject: [PATCH] Use existing format with empty destination object --- .../common/directives/components/umbaceeditor.directive.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/common/directives/components/umbaceeditor.directive.js b/src/Umbraco.Web.UI.Client/src/common/directives/components/umbaceeditor.directive.js index 82aba2073cb4..ef463e6d95bf 100644 --- a/src/Umbraco.Web.UI.Client/src/common/directives/components/umbaceeditor.directive.js +++ b/src/Umbraco.Web.UI.Client/src/common/directives/components/umbaceeditor.directive.js @@ -146,7 +146,7 @@ * umbAceEditorConfig merged with user options via json in attribute or data binding * @type object */ - var opts = Utilities.extend(options, scope.umbAceEditor); + var opts = Utilities.extend({}, options, scope.umbAceEditor); //load ace libraries here... @@ -272,7 +272,7 @@ return; } - opts = Utilities.extend(options, scope.umbAceEditor); + opts = Utilities.extend({}, options, scope.umbAceEditor); opts.callbacks = [opts.onLoad]; if (opts.onLoad !== options.onLoad) {