Skip to content

Commit

Permalink
small fix of triggerClipboardCommand
Browse files Browse the repository at this point in the history
  • Loading branch information
tnrich committed Feb 20, 2024
1 parent 8b4fbb8 commit 9083ad7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ove/src/commands/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`);
Expand Down

0 comments on commit 9083ad7

Please sign in to comment.