Rename replace node to avoid conflict with ComfyUI base component
This commit is contained in:
@@ -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({
|
||||
};
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user