TinyMCE : height is a parameter
This commit is contained in:
parent
4a5ad9a580
commit
9e260fcf51
7 changed files with 17 additions and 9 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue