#3184: Using CSS in Image Macro doc is broken
----------------------------+-----------------------------------------------
Reporter: anonymous | Owner: cboos
Type: task | Status: new
Priority: normal | Milestone: 0.10
Component: wiki | Version: 0.9.5
Severity: major | Resolution:
Keywords: ImageMacro CSS |
----------------------------+-----------------------------------------------
Comment (by cmlenz):
As we don't want to have to sanitize user-supplied CSS properties in the
`[[Image]]` macro, we have restricted the supported options down to a
minimum. If you want extra styling, I would recommend using a `class` and
then define the corresponding style rules in your custom CSS style sheet.
The other option is using an `#!html` blockā¦
While adding back support for specific style properties such as padding is
not completely out of the question, I view that as a slippery slope: next
we'll need padding on other side, borders on either side, margins when
aligned, etc. Where would we stop?
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/3184>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets