Listen to unsupported extension action when uploading a file (client side)
📝 Provide a description of the new feature
What is the expected behavior of the proposed feature?
There is no response if it is an unsupported extension when uploading a file.
i use ckeditor5 in react
i want to do something when an unsupported extension is uploaded
If you'd like to see this feature implemented, add a 👍 reaction to this post.
imageuploadui.js in ckeditor5-image
I wonder if I can use it like the code I added below. If the extension is not supported, an alert occurs. If this method is correct, please update the code.
I checked and we in fact do not have a possibility to listen to this event and react to it on the client side. Remember that you can always react to the server-side error if you use the Simple upload adapter.
I wonder if I can use it like the code I added below.
Remember that you can also upload multiple images, and only some of them could be excluded and some may pass the check. I think this may not be the best place for us to add it, and when we gather enough interest from the community we will think about a better place.
You can always create your own plugin that will listen to the uploadImage command and launch notification.
There has been no activity on this issue for the past year. We've marked it as stale and will close it in 30 days. We understand it may still be relevant, so if you're interested in the solution, leave a comment or reaction under this issue.
We've closed your issue due to inactivity. We understand that the issue may still be relevant. If so, feel free to open a new one (and link this issue to it).