Rename replace node to avoid conflict with ComfyUI base component

This commit is contained in:
WanderingMouse
2025-06-09 00:53:28 -05:00
parent 90c3d6a46b
commit 7e1ea79cef
3 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -13,9 +13,9 @@ app.registerExtension({
});
app.registerExtension({
name: "string.replace",
name: "string.multireplace",
async beforeRegisterNodeDef(nodeType) {
if (nodeType.comfyClass === "StringReplace") {
if (nodeType.comfyClass === "StringMultiReplace") {
nodeType.prototype.onNodeCreated = function() {
this.addInput("input_string", "STRING");
};
@@ -43,4 +43,4 @@ app.registerExtension({
};
}
}
});
});