Answer the question
In order to leave comments, you need to log in
How to implement deleting a file uploaded via CKEditor?
Example: I created an article, in the "body" of which there is text, images.
When deleting an article, the entry from the database (i.e., the text) will be deleted, but the image itself, uploaded to the server via CKEditor, will remain.
How can I delete all the files that were uploaded when deleting an article (so as not to clog the server)?
Parse by filename (generated by CKEditor) and delete?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question