Live data from Hacker News

Trix: A rich text editor for everyday writing

github.com

11–20 of 137 posts

Re: Trix: A rich text editor for everyday writing

#12
One thing this gets right that heaps of other WYSIWYG's get wrong is lists. You can create a proper multi-level list here with order and unordered lists nested inside each other correctly. This sort of stuff is actually important for creating accessible documents as things like flowcharts need a plain text version and nesting lists is a reasonable way of displaying these.

Re: Trix: A rich text editor for everyday writing

#13
post #5

Please tell me this is a humane alternative to TinyMCE, CKEditor, etc?

Going from the README, the main difference is the architecture.

It creates a layer of indirection between user actions and the DOM. This has two advantages:

* For developers of Trix itself, it eases the pain of cross-browser development - as the README says, contenteditable is inconsistent across browsers.

* For developers using Trix, you get a clean API (Trix.editor) so you can edit the document programmatically without your own cross-browser development.

Re: Trix: A rich text editor for everyday writing

#18

Does anyone know if this would adapt well for real-time use with multiple people writing at once? Etherpad-style. Or would that need to be architected differently from the start? Also, sad that it's in Coffeescript.

Nothing sad about it. Just because it isn't $your_favourite_language doesn't mean it's sad.

Re: Trix: A rich text editor for everyday writing

#20
post #6

Earlier quoted context omitted.

I just added a demo: http://trix-editor.org/

Neat, thanks! Literally just this morning I was thinking to myself that I would give just about anything for a high quality OSS rich text editor capable of generating terse, correct HTML output. And here, not even 24 hours later , one just falls into my lap.

Looks like you got two wishes left. Use them wisely...
Post reply on HN