awcodes / filament-tiptap-editor

A Rich Text Editor plugin for Filament Forms.
MIT License
261 stars 71 forks source link

cannot upload image (svg) #242

Closed kiranaryal closed 8 months ago

kiranaryal commented 8 months ago

Filament Version

2.17.55

Plugin Version

2.6.7

PHP Version

php 8.2

Problem description

https://flareapp.io/share/95JRXR05

when uploading svg inside code editor i can upload png succesfully i am new at this please any advice would be appriciated

image image

Expected behavior

i expected no error

Steps to reproduce

fresh laravel application install filament 2.17.55 install filament-tiptap 2.6.7

Reproduction repository

No response

Relevant log output

https://flareapp.io/share/95JRXR05
kiranaryal commented 8 months ago

image I can add jpg and png
the problem is with svg strictly

awcodes commented 8 months ago

This is fixed with v2.6.8

But fair warning inserting svgs will not automatically read the width and height which could affect your performance scores. You can still add them manually via the source code editor.