TinyMCE : height is a parameter

This commit is contained in:
sparkyx 2025-10-17 13:05:20 +02:00
parent 4a5ad9a580
commit 9e260fcf51
7 changed files with 17 additions and 9 deletions

View file

@ -35,6 +35,7 @@ class ITextarea extends HtmlInput
parent::__construct($p_name, $p_value, $p_id);
$this->style=' class="itextarea" ';
$this->enrichText="plain";
$this->heigh=500;
}
/**
@ -84,7 +85,7 @@ class ITextarea extends HtmlInput
<textarea name="{$this->name}" id="{$this->id}" {$this->style}>{$this->value}</textarea>
<script type="text/javascript">
(function() {
noalyss.activate_tinymce('{$this->name}','{$this->enrichText}');
noalyss.activate_tinymce('{$this->name}','{$this->enrichText}','{$this->heigh}');
})();
</script>
EOF;