awcodes / filament-tiptap-editor

A Rich Text Editor plugin for Filament Forms.
MIT License
296 stars 86 forks source link

Add more recognized image file types and compare file extension case insensitively #452

Closed kylxbn closed 3 months ago

kylxbn commented 3 months ago

Comparing file extension case sensitively fails to detect images when they have a capital file extension (such as JPEG). This fixes that issue.

This tries to fix issue #451 .

awcodes commented 3 months ago

Thanks. 😀

kylxbn commented 3 months ago

Unfortunately, the latest release does not seem to have rebuilt the resources/dist JS file. I apologize for not being aware, but I thought it would get built automatically by the release process. I might have to send another pull request... but I'm not sure how to build the JS dist assets...