I was curious if anyone knew much about HTML 5's new contenteditable (content editable) tag.
Questions I have regarding it...
Where are changes stored? It seems that somehow they're stored locally... what file format are they stored in?
How can I make changes like bold text from the iPhone? Pressing command-b while on a mac will change the text to be bold... how can I send a message like that with UIButton from an iPhone?
Edit: I've experimented with a small bit... changes don't seem to get saved at all? How do I make saves work?
2X Edit: Maybe I should clarify what I'm looking to make... I'd like to make an editor of some sort... capable of typing, bolding, underlining, coloring, italicizing, changing fonts, inserting pictures, tables, videos, etc.
I figure having an HTML file in a UIWebView is a really easy way to support displaying all this. The question is, how do I make it so the user can intuitively put the content all together? Sure, I could give them a text field and have them type out the HTML themselves, but then that wouldn't be intuitive. contenteditable seems like it could be the answer, if I could figure out how to make it work.
Questions I have regarding it...
Where are changes stored? It seems that somehow they're stored locally... what file format are they stored in?
How can I make changes like bold text from the iPhone? Pressing command-b while on a mac will change the text to be bold... how can I send a message like that with UIButton from an iPhone?
Edit: I've experimented with a small bit... changes don't seem to get saved at all? How do I make saves work?
2X Edit: Maybe I should clarify what I'm looking to make... I'd like to make an editor of some sort... capable of typing, bolding, underlining, coloring, italicizing, changing fonts, inserting pictures, tables, videos, etc.
I figure having an HTML file in a UIWebView is a really easy way to support displaying all this. The question is, how do I make it so the user can intuitively put the content all together? Sure, I could give them a text field and have them type out the HTML themselves, but then that wouldn't be intuitive. contenteditable seems like it could be the answer, if I could figure out how to make it work.
Last edited: