Ticket #2262 (closed Bug: worksforme)
Creating a list from selection in gecko fails if starting from a blank page
| Reported by: | mcukstorm | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | Core : Lists | Version: | FCKeditor 2.6 |
| Keywords: | WorksForMe | Cc: |
Description
The Problem: When starting with a completely empty page and entering text then selecting and making it a list, the items are not put into a list but instead two spans are created with what look like protected source id's and the first item/line is deleted.
To replicate: Goto a page with the editor in, if there is default content in there goto source view and delete evereything the go back to wysiwyg mode. Enter a couple of lines of text, select them then click either the order list or unordered list toolbar items.
Results: Before list operation:
<p>test1</p> <p>test2</p> <p>test3</p>
After list operation:
<p><span style="display: none;" id="1213038742941S"> </span></p> <p>test2</p> <p>test3</p> <p><span style="display: none;" id="1213038743732E"> </span></p>
Platforms I have tested this with firefox 2.0.0.14 & 2.0.0.12 on windows and linux with the same results, IE7 doesn't exhibit the same issue but i havent had a chance to test any other browsers.