3 ms·
If the underlying data is structured as plain-text or JSON, I think that’s the way to go. But I’m specifically thinking of collaborative rich text editing, in w
by schrijver 13y ago
If the underlying data is structured as plain-text or JSON, I think that’s the way to go. But I’m specifically thinking of collaborative rich text editing, in which case you’re probably using HTML both as the data format and the presentation/editing format.
- schrijver 13y agoFor data as plain text, one could imagine to have an editor based on Markdown. I’ve seen shareJS used this way. IMHO once one wants more sophisticated formatting options this is not as user-friendly as a WYSIWIG solution. Alternatively, the HTML needs to be converted client-side on the fly to something like JSONML http://www.jsonml.org/ http://www.jsonml.org/ Would that be feasible from a performance perspective?