/** * Sets the Text of the tinyMCE * * @param string $text */ function SetText($text) { parent::SetText($text); if($this->ShowStatus == Component::Shown) ClientScript::Queue($this, "tinymce.get('$this').setContent", array($text)); }