awcodes / filament-tiptap-editor

A Rich Text Editor plugin for Filament Forms.
MIT License
251 stars 65 forks source link

Fix: private attach #290

Closed prohonoski closed 6 months ago

prohonoski commented 6 months ago

Resolves #289

awcodes commented 6 months ago

This still won't work because the token will expire in 5 minutes, meaning that the image won't be visible after that time when the content is accessed in the future.

prohonoski commented 6 months ago

Yes, you are rigth... And if I refresh the links on afterStateHydrated?

awcodes commented 6 months ago

You would have to parse the content and update the urls every time the content was pulled out of the database, that includes when rendering it outside the editor field.

Either way, I feel that the functionality to do that should be handled at the model level and not part of the plugin.

Thank you for the PR though. :)