Nodes/ComfyUI-IMGNR-Utils/Catch and Edit Text (IMGNR)
ComfyUI Node

Catch and Edit Text (IMGNR)

Catches text from input and displays it the textbox. Allows you to pause/block the upstream node and edit the text manually for subsequent runs. Ideal for saving on unneeded resources or api calls to tweak LLM Output prompts. Modes: - Use Input: Passes the connected input to output. Updates the textbox with the input. - Use_edit_mute_input: Ignores the input signal. Outputs the text currently in the textbox. - Use_edit_BLOCK_inputnode: Actively prevents the previous node from executing. Uses the widget text. Use statuscolor toggle to show mode on node header.

By ImagineerNL·Created about a year ago·Updated 4 months ago· 18
Catch and Edit Text (IMGNR)
    • STRING
    editable_text_widgetCatches and shows any text being created by a previous node Enables editing the text for subsequent runs. Mute: mutes connected input node. If inputnode is forced to run, (e.g. randomize seed or other connected output to that node), the input node still runs but the catcher ignores it. Block: actively prevents previous node from running. Use statuscolor toggle to show mode on node header.
    actionuse_input
    use_status_colortrue
    input_text
    CategoryIMGNR

    Inputs (4)

    NameTypeDefaultDescription
    editable_text_widgetSTRINGCatches and shows any text being created by a previous node Enables editing the text for subsequent runs. Mute: mutes connected input node. If inputnode is forced to run, (e.g. randomize seed or other connected output to that node), the input node still runs but the catcher ignores it. Block: actively prevents previous node from running. Use statuscolor toggle to show mode on node header.
    actionCOMBOuse_inputMode Selector
    use_status_colorBOOLEANtrueColor Titlebar
    input_textoptSTRINGConnect here

    Outputs (1)

    NameTypeDescription
    STRINGSTRING