From 380cfe764369afd0554c31b62222217cb1550ebc Mon Sep 17 00:00:00 2001 From: Storm Heg Date: Thu, 3 Aug 2023 09:51:44 +0200 Subject: [PATCH] Ensure options passed to `render` override defaults Co-authored-by: Matt Westcott --- client/src/entrypoints/admin/telepath/widgets.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/entrypoints/admin/telepath/widgets.js b/client/src/entrypoints/admin/telepath/widgets.js index 30c787c757f1..33e442cfbd47 100644 --- a/client/src/entrypoints/admin/telepath/widgets.js +++ b/client/src/entrypoints/admin/telepath/widgets.js @@ -386,7 +386,7 @@ class DraftailRichTextArea { const boundDraftail = new BoundDraftailWidget( input, - { ...options, ...this.options }, + { ...this.options, ...options }, parentCapabilities, );