Specifying Accepted File Types

This will tell the file choose to default to showing only images.

<rhino-editor accept="image/*"></rhino-editor>

Caution

Users can still override the behavior and upload any file. It is recommended to sanitize files on your server, and also read the section below of preventing file uploads.

Preventing Uploads

Coming soon…