#2262: Creating a list from selection in gecko fails if starting from a blank
page
-----------------------+----------------------------------------------------
Reporter: mcukstorm | Type: Bug
Status: new | Priority: Normal
Milestone: | Component: Core : Lists
Version: | Keywords: Empty List Span
-----------------------+----------------------------------------------------
'''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.
--
Ticket URL: <http://dev.fckeditor.net/ticket/2262>
FCKeditor <http://www.fckeditor.net>
The text editor for Internet
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac