Item11819: WysiwygPlugin / TinyMCEPlugin remove whitespace - hiddden newline spans are not preserved

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Urgent Closed Extension TinyMCEPlugin, WysiwygPlugin  
Topic of following TML
<noautolink>
WebHome
</noautolink>
WebHome

after save becomes
<noautolink>WebHome</noautolink>WebHome

No spaces or new lines preserved. And the closing noautolink tab prevents the final WebHome from autolinking.

TMCE on 1.1.4 also wraps the lines together, but spaces are inserted between the noautolink tags and the WikiWords.

-- GeorgeClark - 05 May 2012

The issue is that the TMCE editor is removing "empty spans, the solution is to emit a nbsp; in the encoded span instead of a single space. This seems to fix several places were lines were incorrectly wrapping.
-<span style="{encoded:'n'}" class="WYSIWYG_HIDDENWHITESPACE"> </span>
+<span style="{encoded:'n'}" class="WYSIWYG_HIDDENWHITESPACE">&nbsp;</span>

-- GeorgeClark - 05 May 2012
 

ItemTemplate edit

Summary WysiwygPlugin / TinyMCEPlugin remove whitespace - hiddden newline spans are not preserved
ReportedBy GeorgeClark
Codebase 1.1.5, trunk
SVN Range
AppliesTo Extension
Component TinyMCEPlugin, WysiwygPlugin
Priority Urgent
CurrentState Closed
WaitingFor
Checkins Foswikirev:14690 Foswikirev:14786
TargetRelease patch
ReleasedIn 1.1.6
CheckinsOnBranches Release01x01 trunk
trunkCheckins Foswikirev:14690
Release01x01Checkins Foswikirev:14786
Topic revision: r7 - 02 Dec 2012, GeorgeClark
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License