syntax
This commit is contained in:
parent
db2dee7c03
commit
e9bfa71556
@ -166,6 +166,7 @@ class DolEditor
|
|||||||
$out.= '<textarea id="'.$this->htmlname.'" name="'.$this->htmlname.'" rows="'.$this->rows.'"'.(preg_match('/%/',$this->cols)?' style="width: '.$this->cols.'"':' cols="'.$this->cols.'"').' class="flat">';
|
$out.= '<textarea id="'.$this->htmlname.'" name="'.$this->htmlname.'" rows="'.$this->rows.'"'.(preg_match('/%/',$this->cols)?' style="width: '.$this->cols.'"':' cols="'.$this->cols.'"').' class="flat">';
|
||||||
$out.= $this->content;
|
$out.= $this->content;
|
||||||
$out.= '</textarea>';
|
$out.= '</textarea>';
|
||||||
|
|
||||||
if ($this->tool == 'ckeditor')
|
if ($this->tool == 'ckeditor')
|
||||||
{
|
{
|
||||||
if (! defined('REQUIRE_CKEDITOR')) define('REQUIRE_CKEDITOR','1');
|
if (! defined('REQUIRE_CKEDITOR')) define('REQUIRE_CKEDITOR','1');
|
||||||
@ -174,6 +175,7 @@ class DolEditor
|
|||||||
$skin='moono'; // default with cdeditor 4
|
$skin='moono'; // default with cdeditor 4
|
||||||
|
|
||||||
$htmlencode_force=preg_match('/_encoded$/',$this->toolbarname)?'true':'false';
|
$htmlencode_force=preg_match('/_encoded$/',$this->toolbarname)?'true':'false';
|
||||||
|
|
||||||
$out.= '<script type="text/javascript">
|
$out.= '<script type="text/javascript">
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
/* if (CKEDITOR.loadFullCore) CKEDITOR.loadFullCore(); */
|
/* if (CKEDITOR.loadFullCore) CKEDITOR.loadFullCore(); */
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user