Wouldn'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?
WYSIHTML5: A better approach to rich text editing
51–60 of 82 posts
Re: WYSIHTML5: A better approach to rich text editing
#52Feature request - ability to add 'notes' to a document. I'd imagine these as toggleable divs that would be able to be inserted anywhere in the doc, then made visible or not by toggling a class. When 'on' the visible portion would just be a small box/space/marker that, when clicked, opened up a larger div with the full note. I'd tried to do this with the YUI and Dojo editors a couple years ago, but my JS-fu wasn't goo…
Re: WYSIHTML5: A better approach to rich text editing
#53Earlier quoted context omitted.
Aloha handles Tables perfectly (including merge/split of rows & columns, plus pasting from Microsoft Word). Check the demo - http://aloha-editor.org/builds/development/latest/src/demo/b...
Looks nice, but the Aloha licensing basically requires you to buy a license if you're going to use it commercially, whereas this one uses the very simple and open MIT license.
Re: WYSIHTML5: A better approach to rich text editing
#54Oh, and I should add that the built-in parser isn't very flexible and requires lengthy configuration.
Re: WYSIHTML5: A better approach to rich text editing
#55Does anyone know of a JavaScript RTE that does all the text layout and formatting itself using pure JS?
Re: WYSIHTML5: A better approach to rich text editing
#56Haven't gotten around to a github repo or fixing some pretty annoying bugs. But, there it is.
Re: WYSIHTML5: A better approach to rich text editing
#57wysihtml5 is a decent editor. It's fairly lightweight in comparison to the other editors. I feel that its approach to DOM changes makes it easier to create cross-browser consistency. However, I feel the event system could really use some work and I find myself working against the editor to add new features. I would prefer if the framework made it easier to add new features rather than having to change the core to get…
And more specifically: what are your thoughts on the Aloha editor?
Re: WYSIHTML5: A better approach to rich text editing
#58We really need to escape the tyranny of the browser "design mode," with all its quirks. These RTEs are really lipstick on a pig, sadly. Does anyone know of a JavaScript RTE that does all the text layout and formatting itself using pure JS?
http://googledocs.blogspot.com/2010/05/whats-different-about...
The code isn't officially released anywhere, but someone grabbed the source, prettied it up, and put it up here: https://github.com/benjamn/kix-standalone Obviously you can't use it for anything without a proper license.
Re: WYSIHTML5: A better approach to rich text editing
#59wysihtml5 is a decent editor. It's fairly lightweight in comparison to the other editors. I feel that its approach to DOM changes makes it easier to create cross-browser consistency. However, I feel the event system could really use some work and I find myself working against the editor to add new features. I would prefer if the framework made it easier to add new features rather than having to change the core to get…
Could you go into a little bit more detail on how you think it compares to other editors? And more specifically: what are your thoughts on the Aloha editor?
What does Aloha come in at? (Web Inspector is telling me 1.6MB!)
I haven't used Aloha but my impression is that it's trying to be like all the other editors like TinyMCE or CKEditor.
wysihtml5 is lightweight, which is nice. It provides a command API so that I can wire up commands to my own toolbar and provides state management. But I don't like that some built-in commands don't offer up enough externalization, like autolinking. Or that I can't cancel an event like beforecommand. beforecommand doesn't even tell me what command is being fired. (or if it does, I couldn't find out how.)
Re: WYSIHTML5: A better approach to rich text editing
#60Whenever I see "new rich HTML editor", I notice that there is no table editing. What's the point of editor that is missing the most needed function? You could argue that it is not needed, however lack of this function leads to cases of copy-paste from word/excel with bad markup.