Dear Fckeditor 2.6.x users,
I have found out that the fckeditor kills blanks at the end of my text.
Example:
The raw text is
When you switch from edit mode to source view and back,
the last #BLANK# at the end of the text is killed.
Why? Is there a workaround/configuration option?
Best regards
toller43
I have found out that the fckeditor kills blanks at the end of my text.
Example:
a b c
The raw text is
#BLANK#a#BLANK#b#BLANK#c#BLANK#
When you switch from edit mode to source view and back,
the last #BLANK# at the end of the text is killed.
Why? Is there a workaround/configuration option?
Best regards
toller43

Re: trailing blanks in the editing area are killed
I found a workaround :
Fix the code in fckeditor_gecko.js as follows:
... if (FCKBrowserInfo.IsIE) FCKFocusManager.AddWindow(window.frameElement, true); if (FCKConfig.StartupFocus) FCK.Focus(); }; this.Events.FireEvent('OnStatusChange', A); }, FixBody: function () { var A = FCKConfig.EnterMode; if (A != 'p' && A != 'div') return; var B = this.EditorDocument; if (!B) return; var C = B.body; if (!C) return; //FCKDomTools.TrimNode(C); //commented out var D = C.firstChild; var E; while (D) { ...It's about line 261 in the source code (after beutifying it with jsbeautifier).
Best regards
toller43