Ticket #559 (closed Bug: duplicate)
removing <p> and using <br>
| Reported by: | rbaarsma | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | General | Version: | |
| Keywords: | Cc: |
Description
There's actually 2 things strongly related to each other, so I post them as one bug.
First of all, intended or not, it is a real problem that fckeditor add's <p> even if you explicity remove them from the code. Easy to reproduce. - Type "test" in an empty fck-editor field - Click [code] and see it added <p> - Remove the <p> tags in the code - Click [code] to see the word. - Click [code] again to see your <p> tags have returned.
The second is almost the same, it is when you want to explicity add a <br> to your code to get extra room, it doesn't work. As easy to reproduce: - Type "test" in an empty fck-editor field - Click [code] and see it added <p> - add <br> between test and </p> (so you get <p>test<br></p> - Click [code] to see the word. - Click [code] again to see your <br> has disappeared.
I tested this both in Firefox 2.0.0.4 and Internet Explorer 6.0