21
Feb
Thoughts on Textile
February 21st, 2007 — 6:16 pm —One of the earliest decisions we made when we started development on slate was to use Textile (well, RedCloth really) as our method for formatting content as opposed to a WYSIWYG like FCKEditor . It’s been an interesting ride since then. We’ve been using Textile now for about 8 months and we’ve learned a number of lessons. Not only with Textile but also the cross-over between it and Snippets. Based on these “lessons learned” we plan on releasing an interesting Textile/WYSIWYG hybrid with our next release coming in mid-March. So what did we learn?
- Run the edge version of RedCloth. Auto break tags and auto linking are huge. They make life infinitely easier. So grab it. Luckily why is already working on the next version of RedCloth.
- Remove the gsub for subscript using ~’s. At WVU we still have a lot of sites that use tildes as part of their URL. RedCloth will butcher them. Users shouldn’t have to know the ASCII equivalent to put in a link. That being said, you’re giving up subscript.
- Tables absolutely suck with Textile. Maybe I’ve never personally gotten the hang of it. I know you can do colspans and all that kind of stuff but… that’s getting a bit esoteric even for me.
- There’s a big difference between typing content and copy & pasting content. A lot of our users so far are copy & pasting from old sites into new ones in slate. Formatting in this scenario is really awkward. This is one area where highlighting a block of text and clicking a WYSIWYG button or alt-something would be beneficial.
- Our implementation of snippets is flawed. Basically it’s that snippets is sort of hidden that’s the problem. That and the fact that there are weird cross-overs where a user should use snippets as opposed to textile though textile works as well.
- Previewing is awkward. While we have a preview pane in the content editor all it gives you is a general idea of what your content looks like. The stylesheet for your theme might define an h2 as maroon and 50px tall… you won’t see that in the preview pane because we don’t load your stylesheet there.
- Users can & will learn Textile. Yes, it’s a little tricky at first but once people realize how much they don’t have to mark-up and wouldn’t have marked up with some WYSIWYG Textile loses a bit of it’s mysteriousness. Maybe I’m delusional on this so feel free to chime in on the comments but I haven’t heard the blood-curdling screams that I expected when we tell people to use Textile.
Like I said, we’ve learned a lot and hopefully this next release can answer some of our issues. Have thoughts on Textile in slate or in general? Drop us a comment.
About slate
slate is a content management system (CMS) developed using Ruby on Rails focused on rapid production of traditional websites created by WVU Web Services. Read more about why we created slate and a longer list of features of slate. You can also check out a list of sites using slate. If you have questions or comments let us know but if it's a question about open sourcing slate have a look at this article first.Archives
Recent articles
- No Wonder Rails Is Default in Mac OS X Server...
- Good News: An Open Sourced slate Is Coming
- The WVU Open Source License
- Implementation idea: .do templates
- Keeping slate Humming - Part 1
- Campfire for Design & Keeping Your Tag Cloud Running
- Custom configuration settings made easy
- HOW-TO: Add a Gallery to Your Site
- JSONRequest.post Example
- Miscellaneous
Articles
A couple of quick thoughts on your comments: "Tables absolutely suck with Textile." Most definitely, unless it's something extraordinarily simple. "There?s a big difference between typing content and copy & pasting content." Yes, and there's a big difference in types of content. If you have an existing website with massive amounts of text that has bulleted lists galore and lots of italic & bold text...well, it could be a pain. It would be a pain in Dreamweaver, too, but some things would be a little faster. Example: In Dreamweaver you can highlight a list, click the unordered list button, and voila! With Textile key in the asterisk in front of every line.
I'm hoping that the WYSIWYG-ish features in v0.3.2 include a "highlight text to ordered list" feature. It's there but we just have to make sure it works properly. You'll definitely be able to highlight bits of text that should be bold and other click an icon to put the appropriate formatting around them or just alt-whatever it.
I've been anticipating blood-curdling screams myself. We're going with Textile instead of a WYSIWYG and I'm nervous about how users will react. I've been more directly involved with users than the rest of my team, so I'm pretty much expecting the worst. Glad to hear it's gone relatively well for you guys.
Don't get me wrong. Their will be grumbling but stand firm and people will take to it. Hopefully you guys are running the latest RedCloth. The issues with break tags were by far the biggest early complaint about Textile. If you're going to be on the front-lines then I'd insist on that one ;) PS - good luck with your deployment!
Add comment
You are adding a new comment