GithubHelp home page GithubHelp logo

Comments (4)

mohamedsabil83 avatar mohamedsabil83 commented on July 23, 2024

Hi,

The concept of uploading an image(s) in any of the three editors is saving the image then returning the path as plain text within the editor, not attach to the model. So, when deleting the model, it can't figure if there are any images to delete as their paths are saved as plain text.

FMI, you can take a look at the HasFileAttachments Trait which is used by all three editors.

from filament-forms-tinyeditor.

diazsasak avatar diazsasak commented on July 23, 2024

Hi @mohamedsabil83 ,

is that mean this package can use that trait to solve this problem or I need to use the official filament text editor?

from filament-forms-tinyeditor.

diazsasak avatar diazsasak commented on July 23, 2024

If you don't mind, can i have the snippet example on how to use saveUploadedFileAttachmentsUsing and getUploadedAttachmentUrlUsing?

from filament-forms-tinyeditor.

mohamedsabil83 avatar mohamedsabil83 commented on July 23, 2024

The upload processing is done by the mentioned trait in my previous comment. You can review the filament admin for more info.

from filament-forms-tinyeditor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.