New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists

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
Branches: Release01x01 trunk
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
Topic of following TML

after save becomes

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
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 - This page was cached on 18 Sep 2018 - 19:10.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy