""",
"placeholder": "Enter your HTML content here..."
}),
@@ -91,3 +194,4 @@ NODE_CLASS_MAPPINGS = {
NODE_DISPLAY_NAME_MAPPINGS = {
"AF_Enhanced_HTML_Note": "AF - Enhanced HTML Note",
}
+
diff --git a/README.md b/README.md
index 29723a1..1076273 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,13 @@
-# AF Enhanced HTML Node - Usage Guide
+# AF Enhanced HTML Node - Complete Usage Guide
A ComfyUI Note node with HTML capabilities. Create notes, UI's and ReadMe's directly inside the workflow using rich HTML formatting.
+
+
+
+
+---
+
## ⨠Key Features
- **Rich HTML Support** - Full HTML formatting with colored sections, lists, tables, code blocks, and more
@@ -9,8 +15,11 @@ A ComfyUI Note node with HTML capabilities. Create notes, UI's and ReadMe's dire
- **Easy Editing** - Double-click anywhere on the content to edit HTML
- **Smart Links** - Ctrl+click to open external links or trigger custom actions
- **Beautiful Styling** - Predefined color schemes that match ComfyUI's theme
+- **Custom HTML Support** - Write your own HTML with inline styles
- **No Dependencies** - All CSS is inlined for reliable performance
+---
+
## đŽ Interaction Guide
### Editing Content
@@ -28,74 +37,16 @@ A ComfyUI Note node with HTML capabilities. Create notes, UI's and ReadMe's dire
- **Drag edges/corners** to resize
- **Middle mouse button** works for canvas panning (like other nodes)
-## đ¨ Basic Section Colors
+---
-```html
-
-
-
đĸ Positive Prompts
-
Your positive prompts go here...
-
+## đ¨ Predefined Section Colors
-
-
-
đ´ Negative Prompts
-
Your negative prompts go here...
-
+The node comes with several predefined colored section styles. Click each section below to see the code and rendered example.
-
-
+```
+
+### Rendered Result:
+
+
+**Note:** The `row` class ensures proper column wrapping, and each column is 49% width with 1% margin.
+
+
+
+---
+
+## đ Clickable Links & Actions
+
+All links require **Ctrl+Click** to activate for safety and to prevent accidental navigation. JavaScript actions work on links when Ctrl+Click is used.
+
+
+Link Examples
+
+### Code:
+```html
+
+```
+
+### Rendered Result:
+
+
+**Remember:** Hold **Ctrl** while clicking any link to activate it!
+
+
+
+---
+
+## đģ Custom HTML & Inline Styles
+
+The node supports **standard HTML** with **inline CSS styling**. You can write custom HTML just like you would for a webpage.
+
+### â Supported Features
+
+- **All standard HTML tags**: `
`, ``, `
`, `
`-`
`, `
`, ``, `
`, `
`, etc.
+- **Inline CSS styles**: Use the `style` attribute on any element
+- **Text formatting**: ``, ``, ``, ``, ``, `
`
+- **Lists**: Ordered and unordered lists
+- **Tables**: Full table support with styling
+- **Horizontal rules**: `` for dividers
+- **Code blocks**: `` and `