I think that on a phone,I'd prefer a native app for editing/writing (does not have to be part of your product) - and an easy way to upload/paste in code.
Along with a very simple web editor for simple changes.
Ed: probably the minimum for editing on a phone is a dedicated screen/view/activity for editing - as the on screen keyboard takes up a lot of room.