Skip to content

need to show an error when user try to upload non image file #539

Description

@lawrenceCheers

ckeditor versions used in react project:

"@ckeditor/ckeditor5-react": "^8.0.0",
"ckeditor5": "^42.0.1",

So basically I am using a custom upload adapter to upload images to our CDN and we are using ImageUpload from "ckeditor5" for this, we have noticed that when user tries to upload a non-image file such as .pdf, there is no visual error or signs thrown due to which user can understand their error.

Please guide me as to how to catch the error or event so that I can show the error to the end user.

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions