[TYPO3] how to keep a custom class on a blockquote tag?
mailinglists at davidlanier.com
Mon Apr 2 16:35:05 CEST 2007
(already posted to the RTE list, but no response there yet, so posting
I've defined a couple of custom classes for a blockquote tag:
"pull_left" and "pull_right". I'm able to select them from the list
when I've selected a blockquote in the RTE. At that point, in the
status bar, there is this:
Path: body -> blockquote.pull_right -> p
which what I want. But after saving, the "pull_right" class is removed.
I have defined the same sort of thing for <p> and <a> tags, and they
RTE.default.classesParagraph = notice
RTE.default.classesAnchor = term
term, data, notice, pull_right, pull_left
# add "class" to list of allowed attributes for blockquote
I've also tried this:
All of this appears as expected when viewing Page TSConfig using the
Everything I've tried gives me the same result. I can select the
appropriate class in the RTE, but it's removed when saving to the
database. And only with Blockquotes. Classes are attached to P and A
tags without any trouble.
Thanks in advance,
PS, Should I post a complete Page TSConfig?
More information about the TYPO3-english