Sneaky Abstractions

Subscribe to my Feed, follow me on , recommend me on Working With Rails or see my code on GitHub

Listing comments to Sanskrit.

By Tore Darell at

Just found the Textile Editor Helper, which seems to be very similar, but not WYSIWYG, which can be a good thing. It’s a Rails plugin, but I’m guessing the JS part can be used outside of Rails.

By Steven Garcia at

This looks pretty frikkin sweeeet..

There is one little thing on my wishlist, and thats for a class to be applied to a style link, so the user sees it is pressed. Right now you can’t really tell what textile will be applied until you type, which can lead to confusion.

Other than that, this is damn close to being perfect.. great work!

By Steven Garcia at

Ahh, one more thing, it would be cool to be able to have custom text as link instead of just the href itself.

By Tore Darell at

Steven: If I’m not misunderstanding you, I think it already does what you want. There’s a problem with how it works, however, because when you double click a word, the selection includes the surrounding tags which are used to determine if it’s currently “inside” a particular style type (i.e. em or b). If you manually mark the word by dragging over it or position the cursor inside the word boundaries, it will add the “active” class to the link.

The link thing kind of has the same problem, because you’re supposed to edit the link text inside the window, but again if you double click it will replace the entire tag, so you have to manually select the word in order to be inside the a tag..

This kind of sucks, but I haven’t had the time to look into it yet..

By Steven Garcia at

Re: highlighted style button

It apparently works in Firefox, but not in Safari (2 or 3)

By neoswf.myopenid.com at

Hi. What about enabling editing of list elements, or paragraphs. Will it be possible to adjust to support this?

Thanks, Shlomi.

New comment

OpenID

Or..

Old school

Karma Police, arrest this man. He talks in maths, he buzzes like a fridge, he's like a detuned radio.