Live data from Hacker News

Trix: A rich text editor for everyday writing

github.com

21–30 of 137 posts

Re: Trix: A rich text editor for everyday writing

#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?

Re: Trix: A rich text editor for everyday writing

#23
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?

This is a "WYSIWYG" style rich text editor to embed in a webpage/CMS - its not a desktop "text editor" that a developer might use to write code with.

Re: Trix: A rich text editor for everyday writing

#24
Nice to see this particular bit of info high up in the README (though "as seen in Basecamp 3" would fit well in the Github repo description line):

> Trix is an open-source project from Basecamp, the creators of Ruby on Rails. Millions of people trust their text to Basecamp, and we built Trix to give them the best possible editing experience. See Trix in action in the all-new Basecamp 3.

Nothing gets me more interested in trying out a JavaScript library than seeing that it's used in a mainstream production product, especially a money-making/critical product by very same the company that created/maintains it...it's a bit of guarantee that the API is relatively mature/won't-go-crazy and that someone has a vested interest in keeping the library up to date with changes in the Web. That was why React was so much more appealing to me than Angular, relative to their respective public release dates...React was already in production at Instagram and parts of Facebook, whereas I don't think Angular was in any of Google's main public facing products (i.e. search, YouTube, Maps)

Re: Trix: A rich text editor for everyday writing

#26
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?

Yes, they are all terrible. I don't know if this will be any better. They all highlight how bad the web is as an environment to host applications. A rich text editor - something that is a trivial toy project in any other application development environment - is impossible to build on the web in 2015.

Re: Trix: A rich text editor for everyday writing

#28
post #25

This is a Javascript project, but there is no NPM distribution for it. Edit: yes, it's not a Ruby gem. I stand corrected.

It's also open source. The developers (Basecamp) are obviously deeply invested in the Ruby stack.

If you want to install it with NPM, you could a create pull request with a package.json file and some helpful information for the authors about how to submit to the NPM registry, no?

This is the point of open source software you realise - that you can not just use the software, but that you can help improve it for yourself and others.

Post reply on HN