Skip to content

Commit 16d6aa6

Browse files
authored
TINY-13420: Add both release note entries (Improvements and Additions) for file upload feedback and errorHandler option (#4012)
1 parent 7d629b2 commit 16d6aa6

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,10 @@ For information on using Enhanced Skins & Icon Packs, see: xref:enhanced-skins-a
188188
// #TINY-vwxyz1
189189

190190
// CCFR here.
191+
=== The file upload feature of `link` and `image` dialogs now provide feedback when an unsupported file type is selected
192+
// #TINY-13420
191193

194+
In {productname} {release-version}, the dropzone in the link and image dialog upload tabs previously provided no feedback when users inserted only files with disallowed extensions. This left users unsure whether the upload had failed or the dialog had not responded. The dropzone now displays an error message when all selected files have disallowed extensions, informing users that the selected files do not have allowed extensions and prompting them to choose different files.
192195

193196
[[additions]]
194197
== Additions
@@ -205,6 +208,10 @@ Previously, integrators had no way to set default header rows and columns when c
205208
// #TINY-vwxyz1
206209

207210
// CCFR here.
211+
=== New `errorHandler` option for `dropzone` dialog components
212+
// #TINY-13420
213+
214+
In {productname} {release-version}, the dropzone dialog component supports a new `onInvalidFiles` callback (exposed as `errorHandler` in the changelog) that runs when all dropped or selected files have disallowed extensions. This enables custom error handling for invalid file uploads in dialogs that use dropzones, such as the link and image dialogs.
208215

209216
=== The noneditable feature can now be disabled with the new `allow_noneditable` option.
210217
// #TINY-10121

0 commit comments

Comments
 (0)