[TYPO3-rte] How to remove p tags from img in HtmlArea RTE

Stanislas Rolland typo3 at sjbr.ca
Sun Apr 21 00:44:13 CEST 2013


Hi Nikos,
>
> I am using Typo3 v 6.04 and would really like to insert images from RTE
> without it being wrapped with <p> </p>.
>
> I have tried :
>
> RTE.default.proc.allowTagsOutside:= addToList(img)
>
> But when saving the content element, in RTE, the img tag is wrapped in
> the p tags and ends up like:
>      <p><img src="where/image/is/mypic.jpg" ... /></p>
>
I think this is a bug. Please report it into the bugtracker.

Regards,
Stanislas



More information about the TYPO3-project-rte mailing list