Editing on smartphone

Why is editing a device in ESPHome on a smartphone so horrible here? Android.
Simple typing is not the problem but copying code (from an existing device) is just impossible:
Selecting does not work at all and pasting multiple lines (if copied from the Internet by example) results in every next line beïng indented with 2 extra spaces.
1st line pastes OK, 2nd line starts with 2 extra spaces, third line with 4, 4th line with 6, etc.
I pasted 20 lines recently. I had to delete all those empty spaces… 38 for the last line only.
I’m now editing in File editor but switching from there back and forth is not something to cause a smile.
Or I must do something wrong?