Live data from Hacker News

Trix: A rich text editor for everyday writing

github.com

111–120 of 137 posts

Re: Trix: A rich text editor for everyday writing

#111

A couple things I noted while playing with the demo at http://trix-editor.org/ * Pressing the key doesn't insert a tab as I would expect. I'm using Firefox latest on Win8 * The * character doesn't turn into a bulleted list item as I would expect. This is probably more of a nice to have for people use to that behavior in MS Word.

Same tab issue on latest chrome osx

Re: Trix: A rich text editor for everyday writing

#112
post #109

Earlier quoted context omitted.

> in your earlier comment you wrote that it's "a shame" that Trix is written in Coffee, without any rationale. Where did I say that? I didn't say that at all. I'm on my threads page writing this reply to you and a search for shame only brings up your comment so whoever you're quoting isn't me.

Looks like you're right. Sorry. I must have confused you with some other commenter I read on HN today, it's a mistake on my part. Having admitted this much, I'm still waiting for your explanation why you wouldn't "consider projects written in CoffeeScript JavaScript projects". I'd still downvote you for stating such a strong opinion without providing any rationale.

They're not JavaScript because the language used to write the source code isn't in JavaScript. Babel is used to bring modern JavaScript features into older browsers, but you're still writing JavaScript. If the language you are writing doesn't at least attempt to conform with some signficant portion of the ECMAScript specification, it's not JavaScript.

Re: Trix: A rich text editor for everyday writing

#113

Great timing, we were just looking for a new editor for our project. Since there are so many choices, here's a list of everything mentioned in this post. Trix - https://github.com/basecamp/trix - demo here: http://trix-editor.org/ by basecamp and used in v3, handles files/images well Squire - https://github.com/neilj/Squire - used in FastMail webmail, better for text than images ProseMirror - http://prosemirror.net/…

[deleted]

Re: Trix: A rich text editor for everyday writing

#114

Great timing, we were just looking for a new editor for our project. Since there are so many choices, here's a list of everything mentioned in this post. Trix - https://github.com/basecamp/trix - demo here: http://trix-editor.org/ by basecamp and used in v3, handles files/images well Squire - https://github.com/neilj/Squire - used in FastMail webmail, better for text than images ProseMirror - http://prosemirror.net/…

[deleted]

Re: Trix: A rich text editor for everyday writing

#115

Very neat -- seems like React for textarea

Not sure why so many downvotes -- they build an in-memory representation of the content of the contenteditable, intercept input events to update that representation, and use that to update the actual dom. Presumably they wouldn't just wipe out the entire contents each time either, so it's sending atomic create/update/delete commands to the dom.. So it's like React's vdom just for contenteditable.

Re: Trix: A rich text editor for everyday writing

#116

Great timing, we were just looking for a new editor for our project. Since there are so many choices, here's a list of everything mentioned in this post. Trix - https://github.com/basecamp/trix - demo here: http://trix-editor.org/ by basecamp and used in v3, handles files/images well Squire - https://github.com/neilj/Squire - used in FastMail webmail, better for text than images ProseMirror - http://prosemirror.net/…

What is the quality problem with Redactor 3?

Re: Trix: A rich text editor for everyday writing

#117
post #19

Earlier quoted context omitted.

This doesn't support images as far as I can tell

It does, you can use the toolbar to enter urls for the image. Toolbar is hard to use though.

You can also drop files on the editor. Try it on the demo site.

Re: Trix: A rich text editor for everyday writing

#118

Looks decent. The approach taken is the right one: we do something very similar with the Squire rich text editor ( https://github.com/neilj/Squire ) which I wrote for FastMail's webmail. Basically the browser can't be trusted to do any formatting itself, which is a slightly depressing state of affairs, especially as there has been zero improvements in this area for the last 5 years. I guess it's not shiny enough for…

Can you elaborate on not being able to trust the browser for formatting? Is the idea that web developers should just be able to use and not have to think about it beyond that, and that browsers should provide solid default editor?

Re: Trix: A rich text editor for everyday writing

#119

This is cool, one issue thou is that on iOS the select content menu gets in the way. Not Trix fault but iOS makes these WYSIWYG editors a no go.

Has anyone found a good workaround for this? The best I can do is move the select content menu after it's loaded, but this looks ugly and is really, really distracting. Nothing else that I've tried works.

Re: Trix: A rich text editor for everyday writing

#120

Looks decent. The approach taken is the right one: we do something very similar with the Squire rich text editor ( https://github.com/neilj/Squire ) which I wrote for FastMail's webmail. Basically the browser can't be trusted to do any formatting itself, which is a slightly depressing state of affairs, especially as there has been zero improvements in this area for the last 5 years. I guess it's not shiny enough for…

Awesome! I love how Squire has support for setting text direction (ltr/rtl). This has always been a huge beef for me with web-based rich text editors!
Post reply on HN