Editor: Add responsive image setting true - refs BT#19292

pull/4043/head
Christian 4 years ago
parent b7fcd77f82
commit 226664a418
  1. 3
      main/inc/lib/javascript/ckeditor/plugins/image2_chamilo/dialogs/image2_chamilo.js
  2. 2
      main/install/configuration.dist.php

@ -539,9 +539,10 @@ CKEDITOR.dialog.add( 'image2_chamilo', function( editor ) {
id: 'isResponsive',
type: 'checkbox',
label: lang.responsive,
'default' : editor.config.image_responsive != null ? editor.config.image_responsive : false,
requiredContent: features.responsive.requiredContent,
setup: function ( widget ) {
this.setValue( widget.data.isResponsive );
//this.setValue( widget.data.isResponsive );
},
commit: function ( widget ) {
var img = widget;

@ -2001,7 +2001,7 @@ VALUES (21, 13, 'send_notification_at_a_specific_date', 'Send notification at a
//$_configuration['enable_uploadimage_editor'] = false;
// Ckeditor settings.
//$_configuration['editor_settings'] = ['config' => ['youtube_responsive' => true]];
//$_configuration['editor_settings'] = ['config' => ['youtube_responsive' => true, 'image_responsive' => true]];
// Overwrites the app/config/auth.conf.php settings
//$_configuration['extldap_config'] = ['host' => '', 'port' => ''];

Loading…
Cancel
Save