Revize c1bdc1c4
Přidáno uživatelem Michal Kliment před více než 9 roky(ů)
application/libraries/TextEditor.php | ||
---|---|---|
{
|
||
return $this->driver->getHeight();
|
||
}
|
||
|
||
public function getClass()
|
||
{
|
||
return $this->driver->getClass();
|
||
}
|
||
|
||
public function setClass($c)
|
||
{
|
||
return $this->driver->setClass($c);
|
||
}
|
||
|
||
public function checkCompatiblily()
|
||
{
|
||
... | ... | |
// TinyMCE path
|
||
protected $path = 'media/js/tinymce/';
|
||
protected $content;
|
||
protected $class = 'wysiwyg';
|
||
|
||
public function __construct()
|
||
{
|
||
}
|
||
|
||
public function getClass()
|
||
{
|
||
return $this->class;
|
||
}
|
||
|
||
public function setClass($c)
|
||
{
|
||
return $this->class = $c;
|
||
}
|
||
|
||
public function setWidth($width)
|
||
{
|
||
... | ... | |
{
|
||
return '<textarea id="' . $this->fieldName . '" name="' .
|
||
$this->fieldName . '" width="' . $this->width .
|
||
'" class="wysiwyg">' . $this->content . '</textarea>';
|
||
'" class="' . $this->class . '">' . $this->content . '</textarea>';
|
||
}
|
||
|
||
public function checkCompatiblily()
|
Také k dispozici: Unified diff
Release 1.1.0