Indenting heading 2

Support Ticket

+status
 

I would like my second level headings to be indented. So I made some "Heading 2" headings and used the indent tool in edit mode and it seemed to work fine. But when I went back to the card the headings were unindented.

 

I think this is because the tinyMCE indent tool uses style attributes, which wagn then strips (copying style attributes can lead to big messes).  Since that's the case, there's no good reason we have those buttons turned on by default.  I just turned them off in the main template by removing "indent, outdent" from the *tinyMCE card.  If you want them off on your wagn, you can do the same.

 

To fix that behavior we'd have to adapt tinyMCE to use classes instead of style attributes.

 

Our normal workaround for this kind of thing is CSS.  In the *css card you could add:

 

h2 {padding-left: 30px;}

 

Or, if you just wanted it to apply to a certain type, you might do something like:

 

.TYPE-topic h2 {padding-left: 30px}.

 

Simpler still, you might try the quote button, which doesn't depend on the style attribute...

 


Way cool. Problem solved for me. The quote button wouldn't work for me in this case because I didn't want the heading at the same indent as the following text for which I used block quote. So I did the *css thing and the *tinyMCE, learned something and felt like quite the wizard. Thanks much Ethan.

  --Peter Kindfield.....Mon Mar 22 16:05:43 -0700 2010