@domubpkm to handle imported files differently in messaging app, would be a task to solve there. tedit can only hand over a file to messaging app. What that does with the file is defined there. tedit has no control over that.
I added the share option to read only mode page too. I simply didn't think of that yet.
(Build here: https://gitlab.com/Danfro/tedit/-/jobs/14268879889/artifacts/file/build/aarch64-linux-gnu/app/tedit.danfro_3.6.1_arm64.click)