Does anyone know how to troubleshoot a Tinymce line break issue in Safari and Chrome.
For example, let them say I have clear text. When I copy and paste through firefox or IE. It is under one p-tag. So I saw the same formatting in a text file, which is two lines.
But if I copy and paste through Chrome or Firefox, it becomes two p tags. Thus, the display has one space between two lines.
I tried adding a Safari plugin but nothing happens. And if I put a plugin named paste_auto_cleanup_on_paste: true, it will remove the space, but the text from two lines will become one line.
Cani help someone by providing a solution? I noticed that in wordpress, which uses the Tinymce Editor, this problem also does not occur, because it looks like they are using span instead of p in the editor. If this is a solution, how can I change to span instead of p. Thanks for your help and very grateful.
That's when I embed through firefox and IE, firefox produces the following code. This is what I want
<p> This is line 1 <br /> This is line 2 <br /> This is line 3 <br /> </p>
But when I paste through Chrome and Safari, it creates the following code. This is what I do not want.
<p> This is line 1 </p> <p>This is line 2 </p> <p>This is line 3 </p>
javascript google-chrome safari tinymce
knightrider
source share