chore(security): fixes

This commit is contained in:
alam00000 committed 2026-04-18 15:21:59 +05:30
1 parent 121de29d80
commit b040aef729
11 files changed
+59 -33

No files matched your search

+4 -1
View File
@@ -554,7 +554,10 @@ async function addNodeToCanvas(
try {
const node = createNodeByType(type);
if (!node) {
console.error('Node type not found in registry:', type);
console.error(
'Node type not found in registry:',
String(type).replace(/[\r\n]+/g, ' ')
);
return;
}
await editor.addNode(node);