Jump to content

Weird TinyMCE breaks


Recommended Posts

Hey Guys,

I was wondering if anyone came across this before or, if I'm just crazy :P

On different pages I use a simply Body field which is a instance of TinyMCE.

If I call it directly as a standalone field ( $page->body ) it outputs line breaks ( <br /> )

in the paragraph where the empty lines in the text are.

But, when I use the same field inside a repeater and output it using foreach

($page->slideshow as $slide ) $slide->body, it end the paragraph at each line break

in the text. I find this super weird and kinda annoying since you have to use different

stylings the create the same effect.

Does anyone know why this is and how you could fix it? I would prefer it would always

output <BR />'s instead of paragraph ends.

thanx :)




Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...