Ticket #214 (new enhancement)
Span and inline elements
Reported by: | augustin | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | documentation | Version: | trunk |
Keywords: | Cc: |
Description
Following the example here: http://files.wymeditor.org/wymeditor/trunk/src/examples/styles.css I managed to create my own classes for block elements (p).
However, I cannot achieve the intended results with inline elements (span, em, strong). Is it supposed to be possible?
The example file above does not contain any inline element. I checked the wiki but found no information about customizing such elements.
Is the only solution to create buttons like the default 'Bold' (strong) and 'Italics' (em) buttons?
I "only" wanted to define several classes for spans.
What's the easiest way to go about it?
Note: See
TracTickets for help on using
tickets.
The built in toggleClass method only works on block elements as of now, support for inline classes can be achieved though, by using the wrap/unwrap methods and/or some custom jQuery scripting.
The inline elemets and RDFa demos might be of interest.
I really need to get jfh to open up the wiki for editing''