I work with the RTE and it makes me angry that the RTE does wrap <p>
tags around an <img>
tag. What do I have to do that the RTE does not wrap <p>
tags around the <img>
tag?
Asked
Active
Viewed 1,255 times
2

Tomkay
- 5,120
- 21
- 60
- 92
-
1I know it's possible... I don't have enough time for a proper answer right. Check the lib.parseFunc_RTE configuration. – Mateng Nov 10 '11 at 14:50
1 Answers
2
In your PageTSConfig something like this
RTE.default.proc.allowTagsOutside = img,hr
or
RTE.default.proc.allowTagsOutside := addToList(img)
if you want the previous settings and the img additionally

yunzen
- 32,854
- 11
- 73
- 106