Tinymce Line break problem on Safari and Chrome

Posted by knightrider on Stack Overflow See other posts from Stack Overflow or by knightrider
Published on 2010-06-10T10:56:24Z Indexed on 2010/06/10 11:03 UTC
Read the original article Hit count: 415

Hello all,

Does anyone know how to fix the problem about Tinymce Line break problem on Safari and Chrome.

For example, Let's say, I have two line pure text. When I copy and paste through firefox or IE. It's under one p tag. So it's same formatting i saw in the text file which is two line.

But if i copy and paste through Chrome or Firefox, it becomes two p tag. So at display there,s one space between that two line.

I tried to add safari plugin, but nothing happens. And if i put the plugin called paste_auto_cleanup_on_paste : true, it's removing the space, but two line text became one line.

Cany anyone help me out by providing solution ? I noticed that at wordpress which is using Tinymce Editor also, doesn't occur that problem, because seems like they are using span instead of p at editor. If that's the solution, how can i change to span instead of p. Thanks for your help and greatly appreciated.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about safari