el-text-editor 0.0.76 → 0.0.77

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -901,7 +901,7 @@ class ElTextEditorComponent {
901
901
  const imgWidth = img.width;
902
902
  // If the image width exceeds the editor's width, fit it to the editor
903
903
  const imgHTML = imgWidth > editorWidth
904
- ? `<img src="${img.src}" style="width: 100%; max-width: ${700}px; height: auto;">`
904
+ ? `<img src="${img.src}" style=" max-width: ${700}px; height: auto;">`
905
905
  : `<img src="${img.src}" style="width: ${imgWidth}px; height: auto;">`;
906
906
  this.newImageAdded.emit();
907
907
  // Insert the image into the editor