From 6f02f5a0823f99572b71abedaef4f69a8bffda73 Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Wed, 9 Mar 2022 12:49:44 -0800 Subject: [PATCH] Fix zoom on editor --- packages/editor/src/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/editor/src/index.tsx b/packages/editor/src/index.tsx index c4808abd..eed9732f 100644 --- a/packages/editor/src/index.tsx +++ b/packages/editor/src/index.tsx @@ -90,7 +90,7 @@ const Editor = ({ const result = buildDesigner(buildOptions); // Register toolbar event ... - if (options.mode === 'edition-owner' || options.mode === 'edition-editor' || options.mode === 'showcase') { + if (options.mode === 'edition-owner' || options.mode === 'edition-editor' || options.mode === 'edition-viewer' || options.mode === 'showcase') { const menu = new Menu(designer, 'toolbar'); // If a node has focus, focus can be move to another node using the keys.