From 97ebe78205b4afad0401c56afb6aadb20e6a2ff7 Mon Sep 17 00:00:00 2001 From: DominikDoom Date: Tue, 15 Aug 2023 14:44:38 +0200 Subject: [PATCH] !After Detailer (adetailer) support --- javascript/_textAreas.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/javascript/_textAreas.js b/javascript/_textAreas.js index 6d37c3e..c1eaacb 100644 --- a/javascript/_textAreas.js +++ b/javascript/_textAreas.js @@ -57,6 +57,24 @@ const thirdParty = { "[id^=MD-i2i][id$=prompt] textarea", "[id^=MD-i2i][id$=prompt] input[type='text']" ] + }, + "adetailer-t2i": { + "base": "#txt2img_script_container", + "hasIds": true, + "onDemand": true, + "selectors": [ + "[id^=script_txt2img_adetailer_ad_prompt] textarea", + "[id^=script_txt2img_adetailer_ad_negative_prompt] textarea" + ] + }, + "adetailer-i2i": { + "base": "#img2img_script_container", + "hasIds": true, + "onDemand": true, + "selectors": [ + "[id^=script_img2img_adetailer_ad_prompt] textarea", + "[id^=script_img2img_adetailer_ad_negative_prompt] textarea" + ] } }