awcodes / filament-tiptap-editor

A Rich Text Editor plugin for Filament Forms.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cannot upload image (svg)

kiranaryal opened this issue · comments

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

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

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.