WTH why is it so hard to edit in the code editor on mobile?

I’m sorry I don’t use iOS but it works perfectly for my on my Google Pixel4XL

Still having this issue on iOS for some reason. Can’t even copy and paste the whole text instead of typing it out. Any solutions?

The only solution, as mentioned before in this thread, is to wait for code mirror (An external library, not-managed by Home Assistant) to build in the functionality.

It’s not the best solution but it helps get the job done. I do most (90%) of my editing on my iPhone (which is by far the slowest way to edit yaml). I use an app called ‘paste keyboard’. I copy code and paste it into paste keyboard, make the edits I want and then using paste keyboard as the phones keyboard in home assistant app you can paste it in. You just have to toggle from paste keyboard and the standard keyboard to get stuff done. Still not the best solution but way better than typing a big chunk of code.

1 Like

There are some fixes coming soon that I tested locally, they seem to stop the bug where the cursor jumps to the beginning of the block on every edit.

3 Likes

This fix works for me and was released in 2021.11.3!

1 Like