Merge pull request #8 from alexopus/patch-2
Restrict textarea enhancement to ComfyUI dom-widgets
This commit is contained in:
@@ -107,8 +107,8 @@ function setTextColors(inputEl, overlayEl) {
|
||||
export function enhanceTextarea(textarea) {
|
||||
if (
|
||||
enhancedTextareas.has(textarea) ||
|
||||
textarea.closest(".settings-container") ||
|
||||
textarea.closest(".form-input")
|
||||
!textarea.closest(".dom-widget") ||
|
||||
textarea.closest(".widget-markdown")
|
||||
) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user