From 9083ad76bf06b8def74d3506a69a46234e0e0ff0 Mon Sep 17 00:00:00 2001 From: Thomas Rich Date: Tue, 20 Feb 2024 14:15:40 -0300 Subject: [PATCH] small fix of triggerClipboardCommand --- packages/ove/src/commands/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ove/src/commands/index.js b/packages/ove/src/commands/index.js index 0e479cd1..7709644f 100644 --- a/packages/ove/src/commands/index.js +++ b/packages/ove/src/commands/index.js @@ -360,7 +360,7 @@ const noSelection = ({ selectionLayer = {} }) => const triggerClipboardCommand = (type, props) => { const wrapper = document.querySelector( - `#${props.editorName} .veVectorInteractionWrapper` + `.${props.editorName} .veVectorInteractionWrapper` ); if (!wrapper) { return window.toastr.info(`Cannot trigger a ${type} in the current view`);