CSS class stripped out?

Support Ticket

+status
+tags
 

So I found the *css and decided to put in a little styling to create more than one column.

 

.columns { -moz-column-count:2; /* Firefox */ -webkit-column-count:2; /* Safari and Chrome */ column-count:2; }

 

This is copied straight from the W3C manual.

 

Then I went to http://teenwolfwiki.416.cldstr.com/wagn/Character_List and edited the HTML and added a <div class="columns"> tag and </div> at the bottom. When I updated the HTML, the editor showed my content in 2 columns, but when I saved the content, the final display didn't. And when I went back to edit the HTML, the div class has been stripped out.

 

How should I go about adding styles if this isn't the way?

 

classes not beginning with "w-" are stripped.

--Ethan McCutchen.....2013-09-03 21:02:32 +0000

Sweet. Is this true just for things that are card content?

--Lora Friedenthal.....2013-09-03 22:01:08 +0000

only card content. (and not all cards: HTML card content (content of cards of the HTML type) is not altered)

--Ethan McCutchen.....2013-09-03 22:48:37 +0000

Layout cards also allow unrestricted HTML in them, right? Is that a form of inheritance from HTML or just declaring the model method to skip clean_html ?

--Gerry Gleason.....2013-09-05 22:17:05 +0000

HTML cards have this:

 

def clean_html?

false

end

 

Layout cards have this:

include Card::Set::Type::Html

--Ethan McCutchen.....2013-09-05 22:22:40 +0000

And a layout card would be a CSS stylesheet for any card assigned that layout?

--Lora Friedenthal.....2013-09-05 23:19:22 +0000

Layout is a cardtype. They're basically special html cards intended to be used as page structure. We may renamed them to be that.

 

(btw gerry, please help keep convo on wagneer level in support tickets)

--Ethan McCutchen.....2013-09-06 02:23:06 +0000