* [misc] add the maxHeight for editor.

This commit is contained in:
wangzemei
2025-12-02 16:32:20 +08:00
committed by sunhao
parent e8377cea17
commit 9585f3e53e
+1 -1
View File
@@ -130,7 +130,7 @@ class editor extends wg
(
setClass('editor-container p-px mt-px rounded relative', $this->prop('readonly') ? 'is-readonly' : ''),
$props['size'] === 'full' ? setStyle('height', '100%') : setClass('h-auto'),
h::css(self::$css), // Inject CSS on page, for tippy menus.
h::css(self::$css . $addCss), // Inject CSS on page, for tippy menus.
$templateType ? $this->buildTemplate($this->prop('name'), $templateType) : null,
$editor,
textarea