Skip to content

Commit 8a50321

Browse files
committedNov 28, 2024
Fixed: [EEZ Flow] Problems with the Comment block #653
1 parent f86a193 commit 8a50321

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed
 

‎packages/home/tabs-store.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,6 @@ export class ProjectEditorTab implements IHomeTab {
593593
}
594594

595595
if (!this.runMode) {
596-
console.log("paste");
597596
projectStore.paste();
598597
}
599598
};

‎packages/project-editor/flow/components/actions/index.tsx

-4
Original file line numberDiff line numberDiff line change
@@ -4124,10 +4124,6 @@ const TrixEditor = observer(
41244124
this.setup();
41254125
}
41264126

4127-
componentDidUpdate() {
4128-
this.setup();
4129-
}
4130-
41314127
render() {
41324128
var attributes: { [key: string]: string } = {
41334129
id: this.editorId,

‎packages/project-editor/flow/editor/flow-document.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ export class FlowDocument implements IDocument {
295295
pasteSelection = () => {
296296
if (canPasteWithDependencies(this.projectStore)) {
297297
this.flow.pasteSelection();
298-
} else {
298+
} else if (this.flow.canPaste()) {
299299
this.projectStore.undoManager.setCombineCommands(true);
300300

301301
this.flow.pasteSelection();

0 commit comments

Comments
 (0)
Failed to load comments.