I have found that thh rich text editor adds <p> tags to any text.
I can remove them but next time I save that page it readds them.
I am using cloned pages and when I pull the text out of the cms, I wrap it in <h2> tags and style in my css, but the styling gets lost because of the <p> tags.
I have tried some php to str_replace the <p> tags but cms:php doesnt recognise my php
does anyone have a solution or work around without addi9ng ectra styling in my css for
#subtext h2 p{...?
I have tried saving the text as normal<div> but that adds div tags
I can remove them but next time I save that page it readds them.
I am using cloned pages and when I pull the text out of the cms, I wrap it in <h2> tags and style in my css, but the styling gets lost because of the <p> tags.
I have tried some php to str_replace the <p> tags but cms:php doesnt recognise my php
does anyone have a solution or work around without addi9ng ectra styling in my css for
#subtext h2 p{...?
I have tried saving the text as normal<div> but that adds div tags