|
@@ -36,11 +36,7 @@ class Editor extends Field
|
|
|
'min_height' => 400,
|
|
|
'save_enablewhendirty' => true,
|
|
|
'convert_urls' => false,
|
|
|
-
|
|
|
- // 图片上传后,把长与宽设为空
|
|
|
- 'image_dimensions' => false,
|
|
|
- 'image_prepend_dimensions' => false,
|
|
|
- 'object_resizing' => false,
|
|
|
+ 'image_dimensions' => false, // 自动调整图片尺寸
|
|
|
];
|
|
|
|
|
|
protected $disk;
|
|
@@ -118,9 +114,6 @@ class Editor extends Field
|
|
|
$this->options['images_upload_url'] = $this->defaultImageUploadUrl();
|
|
|
}
|
|
|
|
|
|
- $this->options['image_dimensions'] = true;
|
|
|
-
|
|
|
-
|
|
|
return $this->options;
|
|
|
}
|
|
|
|