Skip to content

Commit f6559ec

Browse files
DOC-2609: Resizing images by typing into the input didn't update the attribute correctly.
1 parent 83636a9 commit f6559ec

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

modules/ROOT/pages/7.6.1-release-notes.adoc

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,25 @@ In {productname} {release-version}, this issue has been resolved by ensuring the
101101

102102
For information on the **Enhanced Table** plugin, see: xref:advtable.adoc[Enhanced Tables].
103103

104+
=== Image Optimizer
105+
106+
The {productname} {release-version} release includes an accompanying release of the **Image Optimizer** premium plugin.
107+
108+
**Image Optimizer** includes the following fixes.
109+
110+
==== Resizing images by typing into the input didn't update the `style` attribute correctly.
111+
112+
An issue was identified where the `data-mce-style` attribute of an image was not updated correctly when its width and height were modified via user input.
113+
114+
This was caused by triggering the resize function when the selection was somewhere else due to a debounce between the input and the resize, but the resize operation would be performed on the current selection.
115+
116+
This resulted in other editor components that contain the `data-mce-style` attribute accidentally reading outdated values, and the resize not being applied as the selection would not be on the image.
117+
118+
{productname} {release-version} addresses this by updating the `data-mce-style` attribute accordingly when a resize operation is performed and the resize function takes the image as a parameter.
119+
This ensures that all editor components that reference the `data-mce-style` attribute read the most recent value entered, and the resize operation is applied to the correct image even before the debounce time has elapsed.
120+
121+
For information on the **Image Optimizer** plugin, see: xref:uploadcare.adoc[Image Optimizer].
122+
104123
[[accompanying-premium-plugin-end-of-life-announcement]]
105124
== Accompanying Premium plugin end-of-life announcement
106125

0 commit comments

Comments
 (0)