I'm using the Twitter Bootstrap styled version of this in a current project. It looks stunning: http://jhollingworth.github.com/bootstrap-wysihtml5/
WYSIHTML5: A better approach to rich text editing
41–50 of 82 posts
Re: WYSIHTML5: A better approach to rich text editing
#42Earlier quoted context omitted.
Depends on the use case. If you are using it in as a website authoring tool, it makes sense to store the rich-edit user input as HTML itself. However, in a scenario like commenting or composing a message (where only limited editing options are available), storing in a format such as Markdown make sense.
Are you aware of any such editor that does store the data in Markdown or something similar?
Re: WYSIHTML5: A better approach to rich text editing
#43Wouldn't it be more desirable to have these WYSIWYG editors serialize to a non-HTML markup (like textile or markdown) to reduce the hassle of user-input sanitization on the back-end? (e.g. stripping script and iframe tags). What's best-practice these days for storing and displaying rich-edit user input?
Depends on the use case. If you are using it in as a website authoring tool, it makes sense to store the rich-edit user input as HTML itself. However, in a scenario like commenting or composing a message (where only limited editing options are available), storing in a format such as Markdown make sense.
Re: WYSIHTML5: A better approach to rich text editing
#44I'm using the Twitter Bootstrap styled version of this in a current project. It looks stunning: http://jhollingworth.github.com/bootstrap-wysihtml5/
Cool! That's the first thing that hit my mind - how would this look in bootstrap? Thanks for doing and sharing this!
The credit for writing this goes to James Hollingworth: https://github.com/jhollingworth
Re: WYSIHTML5: A better approach to rich text editing
#45IE in browser support: IE8+ yay ;-)
Re: WYSIHTML5: A better approach to rich text editing
#46Re: WYSIHTML5: A better approach to rich text editing
#47Valid HTML5 markup? It's certainly not semantic. should be , should be
http://www.whatwg.org/specs/web-apps/current-work/multipage/...
Re: WYSIHTML5: A better approach to rich text editing
#48IE in browser support: IE8+ yay ;-)
Out of curiosity is it working in IE8 for you? Doesn't appear to fully work for me using IE8 on XP. The editor buttons and most of the page don't appear.
On IE7 nothing really happens.
Re: WYSIHTML5: A better approach to rich text editing
#49Earlier quoted context omitted.
Aloha is more than a meg of JS as it stands and the documentation is pitiful.
I'm a contributor to Aloha and recently project underwent a huge re-write to cut down the cruft. Next release, will use a light weight UI based on jQuery and also switching to a newer command API based on W3C's editing API will also make things more faster (and easier). Main issue with the documentation was the rapid changes to the API in the past. Since the API is getting stable there will be more concern on improvi…
I stand by my comment about the lack of documentation though. I appreciate that it’s often difficult to get people to contribute to docs over code, but it’s pretty imperative for a project like this that there’s at least an easy integration walkthrough and a handful of examples showing common customisations.
Re: WYSIHTML5: A better approach to rich text editing
#50Valid HTML5 markup? It's certainly not semantic. should be , should be
You might want to take a look at this: http://www.whatwg.org/specs/web-apps/current-work/multipage/...
From the looks of it - while just about legal, it's the worst option going. etc are far more preferable and 'right'