diff --git a/packages/editor-ui/src/components/mixins/nodeBase.ts b/packages/editor-ui/src/components/mixins/nodeBase.ts
index 830d7ed2e0..bc8c3b1cc0 100644
--- a/packages/editor-ui/src/components/mixins/nodeBase.ts
+++ b/packages/editor-ui/src/components/mixins/nodeBase.ts
@@ -341,6 +341,14 @@ export const nodeBase = mixins(
}
},
mouseLeftClick (e: MouseEvent) {
+ // @ts-ignore
+ const path = e.path || (e.composedPath && e.composedPath());
+ for (let index = 0; index < path.length; index++) {
+ if (path[index].className && typeof path[index].className === 'string' && path[index].className.includes('no-select-on-click')) {
+ return;
+ }
+ }
+
if (!this.isTouchDevice) {
if (this.$store.getters.isActionActive('dragActive')) {
this.$store.commit('removeActiveAction', 'dragActive');