This (relatively) simple add-on will add a RTE (or non RTE) editor to the resource delete overlay to allow users' to enter the content that will appear on the post added as a reply to the resource thread when it is deleted.
The editor is pre-filled with the default text.
This is only displayed if the following conditions are met:
- The resource has a discussion thread
- A post when a resource is deleted is enabled
- The user has permission to enter custom text (a new resource permission)