Is there a way to disable direct upload of images and attachments from the ActionText/Trix Editor and replace it with a POST request to the rails backend to do the upload to S3?
I'm trying to do this to audit any user upload actions from Rails application standpoint.
Updates: I'm thinking I can probably extend the ActiveStorage::DirectUploadsController to do this audit. I'm still curious about the original question.
I'm also thinking about writing javascript to change data attribute (data-direct-upload-url) of <trix-editor> html form element.