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.
Sweet. Is this true just for things that are card content?
only card content. (and not all cards: HTML card content (content of cards of the HTML type) is not altered)
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 ?
HTML cards have this:
def clean_html?
false
end
Layout cards have this:
include Card::Set::Type::Html
And a layout card would be a CSS stylesheet for any card assigned that layout?
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)