diff --git a/README.md b/README.md index 9b60be3..2479a95 100644 --- a/README.md +++ b/README.md @@ -163,7 +163,49 @@ Use Cases: - Dynamic workflow building - Image list generation +### 📝 Text Display Enhancer (Show Text Plus) +An enhanced text display node that provides more text formatting and display options. +![Text Display Enhancer Example](https://raw.githubusercontent.com/jammyfu/ComfyUI_PaintingCoderUtils/main/docs/images/muti_text_and_show_text_plus01.jpg) + +Features: +- Display Mode Options: + - Normal Mode: Displays text directly +- Text Statistics Functionality: + - Character Count + - Word Count + - Line Count +- Supports automatic line wrapping for long texts +- Supports multilingual text + +Usage Instructions: +1. Add the node to your workflow +2. Connect the text input +3. Select the display mode + +### 📝 Multiline Text Input (Multiline Text) +A node that supports multiline text input, making it easy to input and edit long text content. + +![Multiline Text Input Example](https://raw.githubusercontent.com/jammyfu/ComfyUI_PaintingCoderUtils/main/docs/images/muti_text_and_show_text_plus01.jpg) + +Features: +- Supports multiline text input and editing +- Retains text formatting and line breaks +- Compatible with both Chinese and English input +- User-friendly text editing interface +- Supports copy and paste operations + +Usage Instructions: +1. Add the node to your workflow +2. Double-click the text box to edit +3. Supports direct pasting of multiline text +4. Click outside the area to save after editing + +Usage Scenarios: +- Inputting long prompt phrases +- Editing multiline descriptive texts +- Batch text processing +- Preparing texts for LoRA training ## 📝 License diff --git a/README_CN.md b/README_CN.md index c7cfc78..c58a166 100644 --- a/README_CN.md +++ b/README_CN.md @@ -176,11 +176,65 @@ - 动态工作流构建 - 图像列表生成 +### 📝文本显示增强器 (Show Text Plus) +一个增强型的文本显示节点,提供更多文本格式化和显示选项。 + +![文本显示增强器示例](https://raw.githubusercontent.com/jammyfu/ComfyUI_PaintingCoderUtils/main/docs/images/muti_text_and_show_text_plus01.jpg) + +特点: +- 关闭显示模式: + - 普通模式:直接显示文本 +- 文本统计功能: + - 字符数统计 + - 单词数统计 + - 行数统计 +- 支持长文本自动换行 +- 支持多语言文本 + +使用方法: +1. 将节点添加到工作流 +2. 连接文本输入 +3. 选择显示模式 + +### 📝多行文本输入器 (Multiline Text) +一个支持多行文本输入的节点,方便输入和编辑长文本内容。 + +![多行文本输入器示例](docs/images/muti_text_and_show_text_plus01.jpg) + +特点: +- 支持多行文本输入和编辑 +- 保留文本格式和换行 +- 兼容中英文输入 +- 方便的文本编辑界面 +- 支持复制粘贴操作 + +使用方法: +1. 将节点添加到工作流 +2. 双击文本框进行编辑 +3. 支持直接粘贴多行文本 +4. 编辑完成后点击其他区域保存 + +使用场景: +- 输入长篇提示词 +- 编辑多行描述文本 +- 批量文本处理 +- LoRA 训练文本准备 + + + ## 📝 许可证 MIT License ## 🤝 更新说明 +### v0.1.4 (2024-12-27) +- 新增 Show Text Plus 节点 + - 添加多种显示模式 + - 实现文本统计功能 + - 支持自定义显示选项 + - 优化长文本显示效果 + + ### v0.1.3 (2024-12-26) - 新增动态图像输入组合器 - 实现动态输入端口 @@ -232,3 +286,4 @@ MIT License 这个 README: + diff --git a/docs/images/muti_text_and_show_text_plus01.jpg b/docs/images/muti_text_and_show_text_plus01.jpg new file mode 100644 index 0000000..5327e2f Binary files /dev/null and b/docs/images/muti_text_and_show_text_plus01.jpg differ