You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hmmm, this is interesting. In v0.7.4, we disabled the editor when readOnly to prevent the editor from opening the keyboard when on a mobile device, see #130.
It is useful though to still be able to select and move through the editor. I'm not sure how we can solve both issues. Any suggestions @masquerader0 or @fonov?
I'm guessing the reason we want to do command + A in readOnly mode is to select & copy all to clipboard.
Cant we just add a "copy all text" button in menubar in readOnly mode?
The tree mode also has a copy button when readOnly, though that will copy the selection and not the full document. I think it's not a big problem if that is not consistent. I expect though that tree mode will still open the mobile keyboard right now, and if so, we should look into that (see also #130).
Fixed via 99922dc, but this fix may bring back the issue that #130 fixed: the mobile keyboard opens when in readOnly mode. It may be fixed in a different way already by fixing #231 via 5df57ee, I'll have to validate that.
It works in v0.7.3 ,but not in 0.7.4https://codesandbox.io/s/svelte-jsoneditor-react-forked-bnhg9q
The text was updated successfully, but these errors were encountered: