Closed Grestorn closed 5 years ago
Did you rebase your branch before creating your PR?
Nope, sorry. Since I just forked two days ago... If you want, you can deny it and I'll do it from scratch. Or you just throw away the dist files from my pull request and merge the rest. Up to you. Sorry for the hassle. (I'm still getting familiar with the whole pull request business :) )
Is this ok now? I'm really sorry, still got a lot to learn how to properly share contributions on github.
We are all learning here as we go. Thank you for the contribution. It is appreciated.
I've added the ability to give the user an option to switch between the full editor and a simple TextArea. The reason is, that CodeMirror doesn't work all to well on iOS devices. Some users prefer the simple text area which still allows them to use the standard iOS text correction functionality.
See the changes in the README for the details.
I didn't do a full test (I don't have a test environment, do you?) but it seems to work fine with my setup. The "autoSave" feature will probably not work to well if you start the editor in TextArea mode.