Skip to content

Commit

Permalink
Fixed: [EEZ Flow] Problems with the Comment block #653
Browse files Browse the repository at this point in the history
  • Loading branch information
mvladic committed Nov 28, 2024
1 parent f86a193 commit 8a50321
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion packages/home/tabs-store.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,6 @@ export class ProjectEditorTab implements IHomeTab {
}

if (!this.runMode) {
console.log("paste");
projectStore.paste();
}
};
Expand Down
4 changes: 0 additions & 4 deletions packages/project-editor/flow/components/actions/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4124,10 +4124,6 @@ const TrixEditor = observer(
this.setup();
}

componentDidUpdate() {
this.setup();
}

render() {
var attributes: { [key: string]: string } = {
id: this.editorId,
Expand Down
2 changes: 1 addition & 1 deletion packages/project-editor/flow/editor/flow-document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ export class FlowDocument implements IDocument {
pasteSelection = () => {
if (canPasteWithDependencies(this.projectStore)) {
this.flow.pasteSelection();
} else {
} else if (this.flow.canPaste()) {
this.projectStore.undoManager.setCombineCommands(true);

this.flow.pasteSelection();
Expand Down

0 comments on commit 8a50321

Please sign in to comment.