26 Mar

Textile editor has been released into the wild

March 26th, 2007 — 1:15 pm Chris

This week we’ll be launching slate v0.3.3 which incorporates the new Textile editor. But first, we decided to wrap it up as a plugin for all to enjoy ;-)

Head on over to our new plugins page for more information.

#1: Chris Wanstrath said on Mar 27 at 3:51 pm

This is so freaking awesome. Thank you.

#2: Dave said on Mar 27 at 4:11 pm

Welcome :) So the plugin worked ok?

#3: Guillaume Carbonneau said on Mar 27 at 10:27 pm

everything works fine but I’m getting a javascript exception thrown.

You can test this by installing the firefox extension ‘firebug’

Here is the error :
uncaught exception: [Exception… “Could not convert JavaScript argument” nsresult: “0×80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)” location: “JS frame :: http://localhost:3000/javascripts/prototype.js?1173982319 :: anonymous :: line 2241” data: no]

#4: Dave said on Mar 27 at 10:40 pm

Ah, got Firebug installed but didn’t look to closely at it outside of testing when the JS went down in flames. We’ll look at that tomorrow and make sure the code is tight. Thanks for bringing that to our attention.

#5: Chris said on Mar 28 at 12:04 pm

This should be fixed in the latest update. Thanks for letting us know :-)

#6: Guillaume Carbonneau said on Mar 28 at 3:14 pm

works great

THANKS

#7: Ronny Salomonsen said on Mar 28 at 3:40 pm

This look really nice. ^^

Will you be adding the ability to add links and images in the future?

#8: Chris said on Mar 28 at 4:27 pm

While we will eventually have the ability to add links and images, we have some custom requirements that don’t fit into the general framework of this plugin that involve both links and images, so it’s likely that our solution will be too specific.

The problem with links and images is they both require extra input. The extra input means either a custom popup or Javascript input prompt. Right now, all the methods of TEH are related to formatting, which keeps the focus of TEH simple and clean. Adding custom popups to set properties, etc. may be too messy for the plugin to handle.

If we do create a generalized solution, we’ll definitely post it ;-)

#9: Guillaume Carbonneau said on Apr 4 at 8:08 am

How about just adding ’!’ around the selected link for when you want to put an image. The same behaviour as when you add bold text ’*’.

You could even validate if what the user has selected is indeed a link with a simple regex.

Add comment

You are adding a new comment