Textile formatting support

When you are preparing formatted content offline, using a text editor, and want to then paste that content into a database field, the WYSIWYG editor can be problematic. There's no good way to specify, when preparing the text in your text editor, what text should be a headline, what should be a bulleted list, etc. If you're going to use the WYSIWYG editor, the best approach is to paste in plain text, and then use the formatting toolbar in the WYSIWYG editor to format it.

We now offer another solution: using Textile markup. (If you're not familiar with Textile, see http://redcloth.org/textile or http://en.wikipedia.org/wiki/Textile_(markup_language) ). You may be familiar with Textile without knowing it if you've used wiki markup.

To use Textile formatting for a database field, just use a regular textarea for the field type. Then, when you are displaying that field in your pages, add a format attribute to tell the system to format it as Textile:

<w:fieldname format="textile">

That's all there is to it.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk