ComfyUI_frontend icon indicating copy to clipboard operation
ComfyUI_frontend copied to clipboard

Preview any node loses formats like indention and break

Open nestflow opened this issue 4 days ago • 2 comments

Prerequisites

  • [x] I am running the latest version of ComfyUI
  • [x] I have searched existing issues to make sure this isn't a duplicate
  • [x] I have tested with all custom nodes disabled (see how)

What happened?

The commit a8d6f7baffa505e21c959f953fb900d3153479b0 changes the widget of PreviewAny node from string multiline to markdown, which causes the text display losing formats (indention, break, ...), and you can see that comparing to the original implementation in rgthree. Personally I prefer the original visual of rgthree's since it maintains the visual consistency of text input and output, and it's nice to use a monospace font.

I also suggest to check if the json indent works as in https://github.com/comfyanonymous/ComfyUI/pull/10307.

Steps to Reproduce

Image

How is this affecting you?

Visual/UI issue only

ComfyUI Frontend Version

1.32.9

Browser

Chrome/Chromium

Console Errors


Logs


Additional Context

No response

┆Issue is synchronized with this Notion page by Unito

nestflow avatar Dec 01 '25 04:12 nestflow