Hello everybody,
i have following problem, FCK Editor 2.4, can be seen in the online demo.
HTML is:
<p>foo<br /></p>
<p>bar</p>
Now switch to Source an back to wysiwyg - the <br /> is missing.
If there are more br tags, you can remove one of the br tags everytime you switch to source.
How can i disable this behaviour?
tia
Oliver
i have following problem, FCK Editor 2.4, can be seen in the online demo.
HTML is:
<p>foo<br /></p>
<p>bar</p>
Now switch to Source an back to wysiwyg - the <br /> is missing.
If there are more br tags, you can remove one of the br tags everytime you switch to source.
How can i disable this behaviour?
tia
Oliver
RE: FCK Deletes <br /> before </p>
I've noticed the same problem but only seems to be an issue in IE (both 6 and 7)
Works fine in firefox.
The problem is when inserting a single <br/> before a closing </p>
Its gets deleted. You have to enter 2 carriage returns to get 1 which is very
confusing for our users.
Simon.
RE: FCK Deletes <br /> before </p>
I found out that doesn't matter what you do right after any closing tags (ex: </font>, </strong> ....) <br /> is removed.
For Example:
In Editor mode Typing following
FCKEditor
Give 'FCK' A <strong> tag, then right after K "SHIFT-ENTER"
Now switch to Source View It should give this => <p><strong>FCK</strong><br>Editor</p>
but is actually gives <p><strong>FCK</strong>Editor</p> without <br />
I tried with all different kinds of the closing tags ex: </font>, </em>, </u>.....
I know that 2 carriage returns will fix it. But please someone come up a solution without use to hit Enter twice when they only want to go down one line.
Someone out there has to be smarter than me. Thanks in front to all.
RE: FCK Deletes <br /> before </p>
When you put a character behind that br tag, it doesnt get removed.
And when you look at the output, it really doesn't matter if there's a br tag or not...
RE: FCK Deletes <br /> before </p>
This is a major bug in my optinion because it creates 2 very different looking pages, depending on whether you used FF or IE to edit the page. Somewhere, it is IE is stripping that tag, and we should be able to turn that off.
RE: FCK Deletes <br /> before </p>
Developer from FCK confirmed
following fixed the problem
http://dev.fckeditor.net/changeset/168