mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-24 03:41:53 +02:00
try to document why we use the simple-withimage config on ckeditor in mail and not the EGroupware wide pref
This commit is contained in:
parent
8072469b25
commit
f67fb1d1c6
@ -1266,6 +1266,10 @@ class mail_compose
|
|||||||
$_htmlConfig = mail_bo::$htmLawed_config;
|
$_htmlConfig = mail_bo::$htmLawed_config;
|
||||||
mail_bo::$htmLawed_config['comment'] = 2;
|
mail_bo::$htmLawed_config['comment'] = 2;
|
||||||
mail_bo::$htmLawed_config['transform_anchor'] = false;
|
mail_bo::$htmLawed_config['transform_anchor'] = false;
|
||||||
|
// it is intentional to use that simple-withimage configuration for the ckeditor
|
||||||
|
// and not the eGroupware wide pref to prevent users from trying things that will potentially not work
|
||||||
|
// or not work as expected, as a full featured editor that may be wanted in other apps
|
||||||
|
// is way overloading the "normal" needs for composing mails
|
||||||
$content['rtfEditorFeatures']='simple-withimage';//egw_ckeditor_config::get_ckeditor_config();
|
$content['rtfEditorFeatures']='simple-withimage';//egw_ckeditor_config::get_ckeditor_config();
|
||||||
$content['validation_rules']= json_encode(mail_bo::$htmLawed_config);
|
$content['validation_rules']= json_encode(mail_bo::$htmLawed_config);
|
||||||
$etpl->setElementAttribute('mail_htmltext','mode',$content['rtfEditorFeatures']);
|
$etpl->setElementAttribute('mail_htmltext','mode',$content['rtfEditorFeatures']);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user