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

Priority: Urgent
Current State: Closed
Released In: 1.1.6
Target Release: patch
Applies To: Extension
Component: TinyMCEPlugin, WysiwygPlugin
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
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 distro:80e867e3a2ba distro:97cb76fa453a
TargetRelease patch
ReleasedIn 1.1.6
CheckinsOnBranches Release01x01 trunk
trunkCheckins distro:80e867e3a2ba
Release01x01Checkins distro:97cb76fa453a
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