From e46674742f49a038d57ab115cd9cfb36a30f9da2 Mon Sep 17 00:00:00 2001 From: dingguodong Date: Thu, 14 Sep 2023 17:25:01 +0800 Subject: [PATCH] * Use editor widget. --- module/product/ui/edit.html.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/module/product/ui/edit.html.php b/module/product/ui/edit.html.php index d03e4130de..af5788f88f 100644 --- a/module/product/ui/edit.html.php +++ b/module/product/ui/edit.html.php @@ -47,6 +47,20 @@ foreach($fields as $field => $attr) ), ); } + elseif($control['type'] == 'editor') + { + $formGroup = formGroup + ( + set::width($attr['width']), + set::label($attr['title']), + set::required($attr['required']), + editor + ( + set::name($fieldName), + html($attr['default']) + ), + ); + } else { $formGroup = formGroup