when I type the following in the editor:
lowercase
line 1
line 2
line 3
done
a new line
all done
Where line 1 - line 3 are numbered list and "a new line" is another numbered list, the editor puts everything from "a new line" to the line before "all done" in a DIV layer and now matter what I do on the blank line after "a new line", the number list is not carried on, it is just indented. Any thoughts on what is causing this (I am using IE7 on XP)? Is it that DIV layer? How do I remove it?
Bill H
lowercase
line 1
line 2
line 3
done
a new line
all done
Where line 1 - line 3 are numbered list and "a new line" is another numbered list, the editor puts everything from "a new line" to the line before "all done" in a DIV layer and now matter what I do on the blank line after "a new line", the number list is not carried on, it is just indented. Any thoughts on what is causing this (I am using IE7 on XP)? Is it that DIV layer? How do I remove it?
Bill H
Re: DIV layers?
var FCKListHandler =
{
OutdentListItem : function( listItem )
{
var eParent = listItem.parentNode ;
// It may happen that a LI is not in a UL or OL (Orphan).
if ( eParent.tagName.toUpperCase().Equals( 'UL','OL' ) )
{
var oDocument = FCKTools.GetElementDocument( listItem ) ;
var oDogFrag = new FCKDocumentFragment( oDocument ) ;
// All children and successive siblings will be moved to a a DocFrag.
var eNextSiblings = oDogFrag.RootNode ;
Re: DIV layers?
It might be a typo in the original naming of the variable, but at least it's consistent.
Re: DIV layers?
Now this doesn't occur (that i have seen yet) if you just make your ordered lists as you type in the text, only if you go back to previous text and modify a line.
From what I have been able to determine, if the DIV layer would just go away it would be fine (the source for the html is correct). Since I want to use FCKeditor for just rich text entry, not complete html design, is there a way of telling the program not to ever make a DIV layer? I am only using the Bold, Italic, Underline, Sub/Superscript, Left, Center, Right and Justify and the indent, outdent, bullet and numbered lists options. No tables, links, images, fonts etc.
Bill H