If I have multiple paragraphs of text in a rich text field, and I select them all and select "Quote" from the formatting menu, the <p>
tags are stripped out and replaced with double <br>
tags, like so:
<blockquote>
This is some text.<br><br>
Here's some more text.<br>
</blockquote>
Is there any way to preserve the <p>
tags, like so?
<blockquote>
<p>This is some text.</p>
<p>Here's some more text.</p>
</blockquote>
I've been through the Redactor documentation and config settings and haven't found anything that seems relevant.
formattingAdd
config, but it looks like you can't nest block elements, just replace one with another, like you're seeing withp
andblockquote
. Wrapping multiple block elements with an inline element is also not possible.<p>
tags and other block elements inside<blockquote>
tags. Thanks for your response.em
orspan
inh2
! And Imperavi has no plans changing this :(