Skip to content

Commit 8f60d90

Browse files
authored
DOC-3131: Dragging and dropping image files onto the placeholder was not possible if the files had the correct extension but an incorrect MIME type. (#3663)
* DOC-3131: Dragging and dropping image files onto the placeholder was not possible if the files had the correct extension but an incorrect MIME type. * Update modules/ROOT/pages/7.8.0-release-notes.adoc * Update modules/ROOT/pages/7.8.0-release-notes.adoc
1 parent d8b5aad commit 8f60d90

1 file changed

Lines changed: 36 additions & 37 deletions

File tree

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

Lines changed: 36 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -97,42 +97,6 @@ In {productname} {release-version}, a new `+tinycomments_fetch_author_info+` cal
9797

9898
For information on the **Comments** plugin, see: xref:introduction-to-tiny-comments.adoc[Introduction to {companyname} Comments].
9999

100-
=== Image Optimizer (Powered by Uploadcare)
101-
102-
{productname} {release-version} introduces the **Image Optimizer (Powered by Uploadcare)** plugin.
103-
104-
**Image Optimizers** includes the following fix and addition.
105-
106-
=== Added support for `+uploadcare_filters+` option in the Image Optimizer (Powered by Uploadcare) plugin
107-
// #EPIC-146
108-
109-
The **Image Optimizer (Powered by Uploadcare)** plugin now includes support for a new configuration option, `+uploadcare_filters+`, introduced in {release-version}. This option allows integrators to define a customizable list of image filters available within the **Image Optimizer (Powered by Uploadcare)** dialog. Each filter can be configured with an optional `amount` parameter, controlling the intensity of the effect, and an optional `label` to customize its display name in the UI.
110-
111-
.Example
112-
[source,js]
113-
----
114-
tinymce.init({
115-
selector: "textarea",
116-
plugins: 'uploadcare',
117-
toolbar: 'uploadcare',
118-
uploadcare_public_key: '<your-public-key>',
119-
uploadcare_filters: [
120-
{ name: 'none' },
121-
{ name: 'adaris', amount: -100, label: 'Vintage Fade' },
122-
{ name: 'adaris', amount: 0, label: 'Base' },
123-
{ name: 'adaris', amount: 100, label: 'Standard' },
124-
{ name: 'zevcen', amount: 200, label: 'Glow Boost' }
125-
]
126-
});
127-
----
128-
129-
==== Keyboard navigation between toolbars no longer loses focus.
130-
// #TINY-11880
131-
132-
In previous versions of **Image Optimizer**, navigating between toolbars and sub toolbars could cause the toolbar focus state to be lost. This issue required users to press `+Ctrl+F9+` to manually restore focus to the context toolbar, disrupting keyboard navigation workflows. {productname} {release-version} addresses this issue, by updating the focus handling using new sub toolbar APIs, ensuring that focus is now properly retained when moving between toolbars and sub toolbars. This improvement enhances accessibility and allows users to navigate the toolbar system more efficiently.
133-
134-
For information on the **Image Optimizer (Powered by Uploadcare)** plugin, see xref:uploadcare.adoc[Image Optimizer (Powered by Uploadcare)].
135-
136100
=== Math
137101

138102
The {productname} {release-version} release includes an accompanying release of the **Math** premium plugin.
@@ -207,13 +171,48 @@ For more information, see: xref:exportpdf.adoc[Export to PDF].
207171

208172
{productname} {release-version} introduces the **Image Optimizer (Powered by Uploadcare)** plugin.
209173

210-
**Image Optimizer** includes the following fix.
174+
**Image Optimizers** includes the following fix and addition.
175+
176+
=== Added support for `+uploadcare_filters+` option in the Image Optimizer (Powered by Uploadcare) plugin
177+
// #EPIC-146
178+
179+
The **Image Optimizer (Powered by Uploadcare)** plugin now includes support for a new configuration option, `+uploadcare_filters+`, introduced in {release-version}. This option allows integrators to define a customizable list of image filters available within the **Image Optimizer (Powered by Uploadcare)** dialog. Each filter can be configured with an optional `amount` parameter, controlling the intensity of the effect, and an optional `label` to customize its display name in the UI.
180+
181+
.Example
182+
[source,js]
183+
----
184+
tinymce.init({
185+
selector: "textarea",
186+
plugins: 'uploadcare',
187+
toolbar: 'uploadcare',
188+
uploadcare_public_key: '<your-public-key>',
189+
uploadcare_filters: [
190+
{ name: 'none' },
191+
{ name: 'adaris', amount: -100, label: 'Vintage Fade' },
192+
{ name: 'adaris', amount: 0, label: 'Base' },
193+
{ name: 'adaris', amount: 100, label: 'Standard' },
194+
{ name: 'zevcen', amount: 200, label: 'Glow Boost' }
195+
]
196+
});
197+
----
198+
199+
==== Dragging and dropping image files onto the placeholder was not possible if the files had the correct extension but an incorrect MIME type.
200+
// #TINY-11842
201+
202+
In previous versions of the **Image Optimizer (Powered by Uploadcare)** plugin, dragging and dropping supported image files onto the placeholder could fail due to inconsistent file type detection. The issue occurred because only the MIME type or the file extension was checked, resulting in discrepancies when handling certain image files.
203+
204+
{productname} {release-version} resolves this issue by updating file type detection to consider both the MIME type and the file extension when verifying supported formats. This enhancement ensures more reliable and consistent behavior when dragging and dropping image files.
211205

212206
=== Non-uploadcare image URLs would be altered by color adjustments even when they failed to upload.
213207
// #TINY-11761
214208

215209
Previously, applying color filters to images that had not yet been successfully uploaded to Uploadcare could result in broken image links if the server returned an error. This occurred because the original image was modified before confirming a successful upload. With this update, {productname} now preserves the original image until a successful upload is completed, ensuring that image functionality remains intact even if an upload fails. This change improves the reliability of the image upload and editing workflow in {release-version}.
216210

211+
==== Keyboard navigation between toolbars no longer loses focus.
212+
// #TINY-11880
213+
214+
In previous versions of **Image Optimizer (Powered by Uploadcare)** plugin, navigating between toolbars and sub toolbars could cause the toolbar focus state to be lost. This issue required users to press `+Ctrl+F9+` to manually restore focus to the context toolbar, disrupting keyboard navigation workflows. {productname} {release-version} addresses this issue, by updating the focus handling using new sub toolbar APIs, ensuring that focus is now properly retained when moving between toolbars and sub toolbars. This improvement enhances accessibility and allows users to navigate the toolbar system more efficiently.
215+
217216
For information on the **Image Optimizer (Powered by Uploadcare)** plugin, see xref:uploadcare.adoc[Image Optimizer (Powered by Uploadcare)].
218217

219218
[[accompanying-premium-plugin-end-of-life-announcement]]

0 commit comments

Comments
 (0)