I might want to bring "soft" deleted data back. So users think that they deleted the data and will not be able to read or change it, but administrators can read and bring them back.
A better explanation of soft delete Definition from PC Magazine Encyclopedia
Just throwing a few possible workaround (with no scripting suggestion). I have not messed with editing so not sure if any of these are possible or not.
Pretty brunt force options, but if it's important and if there are no other easier alternatives, sometimes you have to create a few more hoops until something better is available.
I suppose if you configured the Edit Widget with a feature service with a data source that's an enterprise geodatabase, with a feature class that is registered as versioned, this might be possible. After making edits, you could potentially recover the "deleted" data at the database level (e.g., within the geodatabase) by querying the feature classes' delta tables (A and D tables). This would likely require some custom development work.
Hope this helps,