[TYPO3-rte] How to avoid <p> inside of <blockquote>?

Mattias Borell Mattias.Borell at med.lu.se
Mon Feb 22 09:27:43 CET 2010


Well, getting the CSS working isn't a problem, I already handle those
"bonus" p-tags on that level, but thanks for the suggestion.

I probably wasn't clear enough in my question, but my problem is more
with the selection of blocks in RTE. Creating a quotation is doable, but
once it's saved and the extra p-tags are automagically added inside of
the blockquote-tags, it seems impossible to select that block of text in
RTE as a quotation-block, it is always recognized as a paragraph-block,
and thus it's not possible to add block-style to the quotation itself.

So, is there any way to stop RTE from adding those p-tags? Or is RTE not
the culprit here, are there other parts of Typo3-code involved in the
addition of these tags?

Best of wishes,

/Mattias

Tapio Markula wrote:
> Mattias Borell
>> However, whenever I save content in RTE, <p>-tags are added _inside_ of
>> the <blockquote>-tag, making it hard to set/change the class of the
>> quotation as a GUI block-style - it's impossible to select only the
>> quotation, the internal paragraph is always included in the selection.
> 
> IMO that is not a big problem - just set blockquote p {...}
> blockquote.someclass p {...}
> 
> like td p {} and td.someclass p {...}
> 
> those just cause a little bit more complicated CSS but are not really 
> harmful
> _______________________________________________
> TYPO3-project-rte mailing list
> TYPO3-project-rte at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-rte
> 

-- 
Mattias Borell
Systemingenjör
LUDC - Lunds Universitets Diabetes Center
CRC, Ingång 72, Hus 60, plan 13
205 02 Malmö

Tel: 040 39 12 27


More information about the TYPO3-project-rte mailing list