Introduce FCKEDITOR_ENABLE_IMAGE_UPLOAD. Upload on ckeditor became

useless (copy/paste is better and can join files on emails)
This commit is contained in:
Laurent Destailleur 2026-04-20 02:24:19 +02:00
parent 9b4c143ebf
commit e7c3a2f4bf

View file

@ -1146,7 +1146,10 @@ class FormMail extends Form
}
}
$doleditor = new DolEditor('message', $defaultmessage, '', 280, $this->ckeditortoolbar, 'In', true, true, $this->withfckeditor, 8, '95%');
$uselocalbrowser = getDolGlobalBool('FCKEDITOR_ENABLE_IMAGE_UPLOAD');
// $uselocalbrowser = true;
$doleditor = new DolEditor('message', $defaultmessage, '', 280, $this->ckeditortoolbar, 'In', true, $uselocalbrowser, $this->withfckeditor, 8, '95%');
$out .= $doleditor->Create(1);
}
$out .= "</td></tr>\n";