diff --git a/packages/tiptap/src/Utils/ExtensionManager.js b/packages/tiptap/src/Utils/ExtensionManager.js index 08699bfe1..20da9068b 100644 --- a/packages/tiptap/src/Utils/ExtensionManager.js +++ b/packages/tiptap/src/Utils/ExtensionManager.js @@ -24,7 +24,7 @@ export default class ExtensionManager { set(obj, prop, value) { const changed = (obj[prop] !== value) - obj[prop] = value + Object.assign(obj, { [prop]: value }) if (changed) { extension.update(view)