joshembling / image-optimizer

🎨 Optimize your Filament images before they reach your database.
https://filamentphp.com/plugins/joshembling-image-optimizer
MIT License
66 stars 14 forks source link

[Bug]: Insert media #35

Closed Kazturin closed 1 month ago

Kazturin commented 1 month ago

What happened?

The package breaks filament-tiptap-editor. Normally, when a PDF file is loaded with 'insert-media', the editor automatically detects that it is a PDF file and changes the attributes.

How to reproduce the bug

After clicking the 'submit' button, the file is not uploaded to the editor

Screenshot_24

Package Version

1.4.1

PHP Version

8.2

Laravel Version

11.9

Which operating systems does with happen with?

No response

Notes

No response

Kazturin commented 1 month ago

https://github.com/joshembling/image-optimizer/pull/33/files