Comments (4)
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.
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.
If you don't mind, can i have the snippet example on how to use saveUploadedFileAttachmentsUsing and getUploadedAttachmentUrlUsing?
from filament-forms-tinyeditor.
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)
- [Bug]: HOT 1
- [Bug]: Data is not saved HOT 1
- [Bug]: direction doesn't change when locale change using spatie-laravel-translatable-plugin ( for RTL languages) HOT 4
- [Bug]: Undefined variable $getHintAction HOT 3
- Not compatible with panel spa ->spa() HOT 3
- [Bug]: not work required check
- [Bug]: Image saved in db doesn't work while edit works HOT 5
- [Bug]: Copy-paste bullet points not working correctly in Chrome Browser HOT 1
- Any change the TinyMce version will be updated to V6 ? HOT 4
- [Bug]: Problems using TinyEditor inside Repeater in RelationManager HOT 6
- [Bug]: The fullscreen mode is not working properly HOT 9
- [Question]: How can i resize image after uploading? HOT 3
- [Bug]: Images are not deleting from livewire temporary folder HOT 2
- [Bug]: Editor in modal break when opened second time HOT 6
- [Bug]: TinyEditor field does not appear on production machine HOT 3
- [Bug]: Not properly load with spatie-laravel-translatable-plugin after cople changing languges HOT 7
- Error when displaying image on s3 disk HOT 2
- [Bug]: No dark mode error HOT 2
- [Bug]: Cannot focus on field inside TinyEditor toolbox modal HOT 2
- [Bug]: cannot see editor in page HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from filament-forms-tinyeditor.