jes1417
(Jes1417)
May 4, 2021, 6:45am
21
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?
petro
(Petro)
September 28, 2021, 3:32pm
23
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.
kraroed
(Kraroed)
October 4, 2021, 2:04pm
24
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
mikesplain
(Mcsplain)
November 10, 2021, 4:22pm
25
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.
home-assistant:dev
← home-assistant:codemirror-ios-selection-fix
opened 02:24PM - 09 Nov 21 UTC
Fixes iOS selection/typing issues
Fixes https://github.com/home-assistant/fro… ntend/issues/10547
## Proposed change
<!--
Describe the big picture of your changes here to communicate to the
maintainers why we should accept this pull request. If it fixes a bug
or resolves a feature request, be sure to link to that issue or discussion
in the additional information section.
-->
## Type of change
<!--
What type of change does your PR introduce to the Home Assistant frontend?
NOTE: Please, check only 1! box!
If your PR requires multiple boxes to be checked, you'll most likely need to
split it into multiple PRs. This makes things easier and faster to code review.
-->
- [X] Dependency upgrade
- [X] Bugfix (non-breaking change which fixes an issue)
- [ ] New feature (thank you!)
- [ ] Breaking change (fix/feature causing existing functionality to break)
- [ ] Code quality improvements to existing code or addition of tests
## Example configuration
<!--
Supplying a configuration snippet, makes it easier for a maintainer to test
your PR.
-->
```yaml
```
## Additional information
<!--
Details are important, and help maintainers processing your PR.
Please be sure to fill out additional details, if applicable.
-->
- This PR fixes or closes issue: fixes #
- This PR is related to issue or discussion:
- Link to documentation pull request:
## Checklist
<!--
Put an `x` in the boxes that apply. You can also fill these out after
creating the PR. If you're unsure about any of them, don't hesitate to ask.
We're here to help! This is simply a reminder of what we are going to look
for before merging your code.
-->
- [ ] The code change is tested and works locally.
- [ ] There is no commented out code in this PR.
- [ ] Tests have been added to verify that the new code works.
If user exposed functionality or configuration variables are added/changed:
- [ ] Documentation added/updated for [www.home-assistant.io][docs-repository]
<!--
Thank you for contributing <3
-->
[docs-repository]: https://github.com/home-assistant/home-assistant.io
3 Likes
mikesplain
(Mcsplain)
November 14, 2021, 12:51am
26
This fix works for me and was released in 2021.11.3 !
1 Like