Live data from Hacker News

Trix: A rich text editor for everyday writing

github.com

101–110 of 137 posts

Re: Trix: A rich text editor for everyday writing

#103
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/ - not great with images

Scribe - https://github.com/guardian/scribe - by the Guardian team

CKEditor - http://ckeditor.com/ - solid and very customizable, lots of plugins, a little dated in look/feel

Quill - http://quilljs.com/

Summernote - http://summernote.org/

wysihtml - http://wysihtml.com/

Etherpad - http://etherpad.org/ - collaborative realtime editing

TinyMCE - http://www.tinymce.com/ - older editor but still good

Textbox.IO - https://textbox.io/ - new from the owners of tinymce project

Froala - https://www.froala.com/wysiwyg-editor - solid editor, newer features like drag/drop images, v2 RC3 just released

Redactor - http://imperavi.com/redactor/ - we used this in production but quality has gone down, v2 is half the functionality at 3x the price, not recommended anymore

Re: Trix: A rich text editor for everyday writing

#105
post #21

Why are text editors so popular a project? My apologies if that sounds anything less than a legitimate question. I'm genuinely curious. It seems very common to me, over the last several years, to see $NEW_SHINY_EDITOR, and I wonder why. Are the alternatives that bad? Or is it just a matter of another dev wanting to scratch their own itch?

> Are the alternatives that bad?

Yes, almost all of them have major issues. It's really hard to get something that works with all the main text use cases but can also support images and some basic layout features (like drag/drop, move stuff around, etc).

Re: Trix: A rich text editor for everyday writing

#106
post #96

Earlier quoted context omitted.

You know that "languages that compile to JavaScript" (thanks for not using the word "transpiled", btw) include JavaScript? Babel, Traceur - does it ring a bell? Would you argue that their users are not a "part of JavaScript"? What about TypeScript (it's just an implementation of some ES6 features + a powerful linter)? Coffee is just a set of syntactic improvements (well, it's debatable - let's say "syntactic changes"…

> Soooo cute... I stopped reading your reply after this. Just FYI, HN doesn't condone bad attitudes. You'll end up getting hell banned. Having said that, my down-voted comments are factual. They are not incorrect, they were down voted by people who have strong emotions about CoffeeScript. True or false? All the statements below are true. Trix is writen in CoffeeScript? CoffeeScript is not superset or a subset of Java…

> I stopped reading your reply after this.

I edited the post, removing this unfortunate opening sentence. It was intended as humorous, which could have backfired.

> Just FYI, HN doesn't condone bad attitudes. You'll end up getting hell banned.

user: klibertp created: 1159 days ago

That is to say, you don't need to tell me what HN is about.

> They are not incorrect, they were down voted by people who have strong emotions about CoffeeScript.

No. I downvoted you, and I have no attachment to CoffeeScript. I downvoted you because in your earlier comment you wrote that it's "a shame" that Trix is written in Coffee, without any rationale.

> I don't consider projects written in CoffeeScript JavaScript projects?

Here, similarly, you didn't provide any explanation of why do you think that way. Without such an explanation what you wrote would be unacceptable in many other contexts. I won't cite examples, but definitive statements about what something is or isn't in general should be backed by convincing arguments.

---

You not considering CS projects a JS projects is a very debatable opinion. It's nuanced debate and has a great depth. Simplifying it to a simple statement without providing any context looks ignorant at best, and like an ill will at worst. Which is why I reacted.

[EDIT: a bit of wording fixes]

Re: Trix: A rich text editor for everyday writing

#107
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.

Re: Trix: A rich text editor for everyday writing

#108

Last time I saw Basecamp (then 37signals) working on a rich text editor is a long time ago. What happened to WysiHat? I know it had another developer than the two guys who made Trix. What I especially liked about WysiHat was the complete bareness of the toolbar, just plain HTMl links. Is that also possible with Trix?

I was involved with the Wysihat project too. What we found is that its approach, like most other editors', is fundamentally broken. We created Trix to solve the problem. https://github.com/basecamp/trix#different-by-design I think you'll find Trix's toolbar easy to style however you'd like, but if not, it ought to be straightforward to implement your own using the API.

Cool, and great work! I had a small e-mail conversation with Josh (forgot his last name) a couple of years back, I thought he worked on Wysihat alone. I have seen and tested some RTEs for the web, and I can only imagine how hard it is to come up with a durable solution. So thanks for Trix and good luck! P.S. Trix also has a 'royal' connotation to me, because it's short for Beatrix in The Netherlands. Beatrix being the former queen.

Re: Trix: A rich text editor for everyday writing

#109
post #96

Earlier quoted context omitted.

> Soooo cute... I stopped reading your reply after this. Just FYI, HN doesn't condone bad attitudes. You'll end up getting hell banned. Having said that, my down-voted comments are factual. They are not incorrect, they were down voted by people who have strong emotions about CoffeeScript. True or false? All the statements below are true. Trix is writen in CoffeeScript? CoffeeScript is not superset or a subset of Java…

> I stopped reading your reply after this. I edited the post, removing this unfortunate opening sentence. It was intended as humorous, which could have backfired. > Just FYI, HN doesn't condone bad attitudes. You'll end up getting hell banned. user: klibertp created: 1159 days ago That is to say, you don't need to tell me what HN is about. > They are not incorrect, they were down voted by people who have strong emoti…

> 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.

Re: Trix: A rich text editor for everyday writing

#110
post #109

Earlier quoted context omitted.

> I stopped reading your reply after this. I edited the post, removing this unfortunate opening sentence. It was intended as humorous, which could have backfired. > Just FYI, HN doesn't condone bad attitudes. You'll end up getting hell banned. user: klibertp created: 1159 days ago That is to say, you don't need to tell me what HN is about. > They are not incorrect, they were down voted by people who have strong emoti…

> 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.

Post reply on HN