Add hidden option FCKEDITOR_ALLOW_ANY_CONTENT to solve bug of editor not

accepting all html tags from templates.
This commit is contained in:
Laurent Destailleur 2015-02-20 15:48:54 +01:00
parent 774389940e
commit 41196c01e9

View File

@ -183,7 +183,8 @@ class DolEditor
customConfig : ckeditorConfig,
readOnly : '.($this->readonly?'true':'false').',
htmlEncodeOutput :'.$htmlencode_force.',
toolbar: \''.$this->toolbarname.'\',
allowedContent :'.(empty($conf->global->FCKEDITOR_ALLOW_ANY_CONTENT)?'false':'true').',
toolbar: \''.$this->toolbarname.'\',
toolbarStartupExpanded: '.($this->toolbarstartexpanded ? 'true' : 'false').',
width: '.($this->width ? '\''.$this->width.'\'' : '\'\'').',
height: '.$this->height.',