If hitting two times 'Enter' on an empty fck-textarea, then switching to the source (showing "<p></p><p></p><p></p>"), then switching back to the editor, the empty paragraphs are not accessable anymore.
To reproduce this issue I used FCK v2.64 and used default config besides the argument "FCKConfig.FillEmptyBlocks = false;"
Is this a bug or does fck behave as intended?
Thanks for the info & kind regards
Werner
To reproduce this issue I used FCK v2.64 and used default config besides the argument "FCKConfig.FillEmptyBlocks = false;"
Is this a bug or does fck behave as intended?
Thanks for the info & kind regards
Werner

Re: Unaccessable empty paragraphs
kind regards
Werner
Re: Unaccessable empty paragraphs
kind regards
Werner
Re: Unaccessable empty paragraphs
I do have the same problem.
My version is 2.6.4.
My config is
FCKConfig.ProcessHTMLEntities = false;
FCKConfig.ProcessNumericEntities = true;
FCKConfig.FormatIndentator = '\t';
FCKConfig.TabSpaces = 4;
FCKConfig.ForcePasteAsPlainText = true;
FCKConfig.FillEmptyBlocks = false;
FCKConfig.ToolbarStartExpanded = true;
FCKConfig.AdditionalNumericEntities = "'" ;
FCKConfig.EnterMode="P";
When I enter a simple text like this:
where between "test" and "end" there are two empty lines,
switch to source view and then back to edit mode, the paragraphs (p) vanish.
How can I get the editor to leave the paragraphs in the text?
I don't want to have nbsp's between the paragraphs!
From my point of view, this a bug!
Best regards
toller43
Re: Unaccessable empty paragraphs
I have tried to find the piece of code where the switch from edit mode to
source mode (and back) is done, but I could not find it.
Where are the entries killed???
Can you please point me to the right place.
Thanks in advance and
Best regards
toller43
Re: Unaccessable empty paragraphs
Re: Unaccessable empty paragraphs
<html> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <head> <title>FCKeditor - test</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="robots" content="noindex, nofollow" /> <link href="../sample.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="../../fckeditor.js"></script> </head> <body> <h1> FCKeditor <span style="color: red;">2.6.4</span> - JavaScript - Test </h1> <hr /> <h2>some text</h2> <p/> <script type="text/javascript"> var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_samples')) ; var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ; oFCKeditor.BasePath = sBasePath ; oFCKeditor.Height = 450 ; oFCKeditor.Width = 500 ; oFCKeditor.Value = 'this is a test - hit RETURN SEVERAL TIMES, then enter some text to see where the text ends. Then switch to source view and back to edit view. The p tags are eaten up'; oFCKeditor.ToolbarSet = 'Default'; oFCKeditor.Config['ProcessHTMLEntities'] = false; oFCKeditor.Config['ProcessNumericEntities'] = true; oFCKeditor.Config['FormatIndentator'] = '\t'; oFCKeditor.Config['TabSpaces'] = 4; oFCKeditor.Config['ForcePasteAsPlainText'] = true; oFCKeditor.Config['FillEmptyBlocks'] = false; // I will not change this!!!!f oFCKeditor.Config['ToolbarStartExpanded'] = true; oFCKeditor.Config['AdditionalNumericEntities'] = "'" ; oFCKeditor.Config['EnterMode'] = 'p'; oFCKeditor.Config['ShiftEnterMode']='br'; oFCKeditor.Config['IgnoreEmptyParagraphValue']=false; // true did not help, the same goes for false oFCKeditor.Create() ; </script> <br /> </body> </html>