Hacker News .hnnew | past | comments | ask | show | jobs | submit | javan's commentslogin

https://javan.us - the “embeds” are all static html / css


stimulus.umd.js is ~5.3KB gzip'd


> noticing that Stimulus will not work with IE11 which I need to support

See: https://github.com/stimulusjs/stimulus/blob/master/INSTALLIN...


Thank you



They all use contenteditable for I/O only (no execCommand), and they all maintain their own internal document model.


Which is why the interesting part of the comparison would focus on where they differ.


What ton of bugs? Trix is used by thousands of people daily in Basecamp 3. I'd like to think it's pretty stable.


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


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


You should probably put a link in the README.md in the github repository - it was the first thing I looked for (Cmd+F -> "demo"). Nothing beats a visual experience in case of a frontend library.


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.


There's also ProseMirror [1], which I'm told is very good, and supports extensions of its document model to support things like embedded objects and Markdown, and is designed for collaborative editing -- all document operations are patches that can be sent over the network.

[1] http://prosemirror.net/


Cool, thanks for the pointer!


Looks like you got two wishes left. Use them wisely...


I don't know what my second wish will be, but I can tell you my third will be "I wish I had a monkey paw."

http://www.hulu.com/watch/33690


@javen

You'll want to add "cursor: hand;" to your CSS when someone hovers over the styling buttons. Because right now, it default to the cursor point, which doesn't given a clue to the user that the styling buttons are clickable.


Crash on IE 11/Win7 - http://i.imgur.com/WyJYKU8.png


Seems to work on IE10/Win7, but I don't get the auto-typing message I get in chrome.


On an Android, it does not let me select text (there is only one caret during edit). Is there some workaround / way to fix this?


Here's my easy (but not totally passing) version using the DOM: https://gist.github.com/javan/6aaebfeb5fe415498028


For Ruby apps, there's also http://pow.cx/


Instead of symlinking ~/.pow/example to (say) ~/Sites/example, you can `echo 3000 > ~/.pow/example` and example.dev will now point to port 3000.

This lets you boot up your Rails app normally, or via Procfiles, instead of booting up through all the pow.cx magic that can be a real pain to debug.


I really enjoy using Pow for non-Ruby apps too.

It handles the .dev DNS resolution, and also supports hosting domains that you map through /etc/hosts (ex: foo.company.com if you need to share cookies with a SSO server, but don't want all of company.com directed to your local machine)

It is much easier to configure than Apache vhosts for distributing traffic based on host name:

* symlink to Rack app for Ruby support. Name of symlink becomes hostname

* create a directory and symlink Public for static HTML. Directory name is hostname

* as sibling said, put port # in text file to proxy traffic to another process. File name is hostname

I use Anvil for Mac to do some of my Pow management.

I'm also using Apache to do SSL termination and proxy to Pow, as well as host some other stuff. But Pow is so easy to use for both static sites and proxying to another web server, I prefer it.


For pow there is http://anvilformac.com/ if you want a nice gui for managing your sites.

I like to setup our designers with this, but have found it useful myself from time to time.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: