N°4375 - Change CKEditor plugins init

This commit is contained in:
Eric Espie
2021-10-19 17:16:17 +02:00
parent ef1903dabe
commit e0929f4d0d

View File

@@ -548,8 +548,6 @@ JS
// Hook the file upload of all CKEditor instances
$('.htmlEditor').each(function() {
var oEditor = $(this).ckeditorGet();
//oEditor.config.extraPlugins = 'font,uploadimage';
//oEditor.config.uploadUrl = '$sAbsoluteUrlAppRoot'+'pages/ajax.render.php';
oEditor.config.filebrowserBrowseUrl = '$sAbsoluteUrlAppRoot'+'pages/ajax.render.php?operation=cke_browse&temp_id=$sTempId&obj_class=$sObjClass&obj_key=$iObjKey';
oEditor.on( 'fileUploadResponse', function( evt ) {
var fileLoader = evt.data.fileLoader;