Opened 16 years ago
Closed 16 years ago
#2697 closed Bug (worksforme)
Page Break in the middle of paragraph closes opening 'p' tag before <hr> and adds <p> </p> to ending 'p' tag when toggling to source
Reported by: | Chris Barretto | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | UI : Source View | Version: | FCKeditor 2.6.3 |
Keywords: | Pending WorksForMe | Cc: |
Description
- To reproduce add the following to 'Source' window (this is simulating a paste from word into regular editing window, stripping tags, and then clicking 'Source'):
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin leo. Ut consequat magna ut purus. Nullam faucibus turpis at sem. Morbi eget augue. Cras blandit dictum magna. Vivamus sed nulla sit amet tortor eleifend luctus. Integer odio. Aliquam hendrerit mattis quam. Cras lobortis erat porttitor risus. Cras sed dolor eu diam cursus pretium. Donec urna.</p>
- Toggle to normal view and insert a page break somewhere in the middle of the paragraph and toggle back to 'Source'. You should see something like the following:
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin leo. Ut consequat magna ut purus. Nullam faucibus turpis at sem. Morbi eget augue. Cras blandit dictum magna. Vivamus sed nulla sit amet tortor eleifend <hr class="page_break" /> luctus. Integer odio. Aliquam hendrerit mattis quam. Cras lobortis erat porttitor risus. Cras sed dolor eu diam cursus pretium. Donec urna.</p>
- Toggle back to normal view and you should see the paragraph split accordingly with the page break dividing the appropriate section.
- Toggle back to 'Source' and this is what results:
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin leo. Ut consequat magna ut purus. Nullam faucibus turpis at sem. Morbi eget augue. Cras blandit dictum magna. Vivamus sed nulla sit amet tortor eleifend</p> <hr class="page_break" /> luctus. Integer odio. Aliquam hendrerit mattis quam. Cras lobortis erat porttitor risus. Cras sed dolor eu diam cursus pretium. Donec urna. <p> </p>
- What should be expected is:
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin leo. Ut consequat magna ut purus. Nullam faucibus turpis at sem. Morbi eget augue. Cras blandit dictum magna. Vivamus sed nulla sit amet tortor eleifend</p> <hr class="page_break" /> <p>luctus. Integer odio. Aliquam hendrerit mattis quam. Cras lobortis erat porttitor risus. Cras sed dolor eu diam cursus pretium. Donec urna.</p>
- The last toggle is just to illustrate what is going on, but when the text area gets saved from the normal view without the toggle, it saves with the above result. This is with the most current release 2.6.3
Change History (2)
comment:1 Changed 16 years ago by
Keywords: | Pending WorksForMe added; page break extra p tag removed |
---|
comment:2 Changed 16 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Expired.
I get the same results as Arczi, so you must be using another plugin instead of the default page break
I have always (FF and IE)
How you get "<hr class="page_break" />" ?