awcodes / filament-tiptap-editor

A Rich Text Editor plugin for Filament Forms.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

added slash "/" beginning of the url. and dont showed uploade image

msohrabifar opened this issue · comments

Filament Version

^3.1

Plugin Version

^3.2.25

PHP Version

8.2

Problem description

in the aws disk.
after upload file in editor. added slash "/" beginning of the url. and dont showed uploade image
(public disk correct worked.)

example:
/https://emarat989.storage.space/post/post-34-2024-03-/f3b2b4d1-f27c-41fd-8e1b-e8ee4c37003d.jpg

Expected behavior

The address works correctly and the photo preview is shown correctly

Steps to reproduce

I have no idea

Reproduction repository

No response

Relevant log output

No response

Are you doing anything custom with the directory's like a path generator? That url looks off too with the day missing from your directory.

Yes, I used it. The same code in the version
"awcodes/filament-tiptap-editor": "3.1",
It works right.

You should change 'use_relative_paths' => false in filament-tiptrap-editor.php