You are here: Foswiki>Tasks Web>Item12572 (14 Oct 2014, KoenMartens)Edit Attach

Item12572: Wysiwyg editor inserts spaces, destroys layout

pencil
Priority: Normal
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: WysiwygPlugin
Branches:
Reported By: KoenMartens
Waiting For:
Last Change By: KoenMartens
The wysiwyg plugin seems to insert spaces here and there. Normally this is not a problem, for example after the opening blockquote tag. However, if one has a TML link (!..) and wants that in bold (by putting * around it) the space inserted between the first asterisk and the first opening square bracket destroys the layout. Instead of the link appearing bold, the link will appear in normal font weight, with asterisks in front and after it.

-- KoenMartens - 30 Aug 2013

What release of WysiwygPlugin? And can you paste an exact example that Wysiwyg will corrupt if I paste it into sandbox?

I've tested this with both the Unit Tests and in a topic, and I don't get any extra spaces.

     {
         exec => $ROUNDTRIP | $TML2HTML | $HTML2TML,
        name => 'Item12572BoldSquab',
        html => <<HERE,
<p><b><a class='TMLlink' data-wikiword='BoldWikiWord' href="BoldWikiWord">BoldWikiWord</a></b>
</p>
HERE
        tml => <<'THERE',
*[[BoldWikiWord]]*
THERE
    },

-- GeorgeClark - 08 Oct 2013

See TestBoldSquab - I don't see that get corrupted either.

-- GeorgeClark - 08 Oct 2013

ENOTIMETOFOLLOWUP - i guess if y'all can't reproduce i'm just an idiot smile

-- KoenMartens - 14 Oct 2013

 

ItemTemplate edit

Summary Wysiwyg editor inserts spaces, destroys layout
ReportedBy KoenMartens
Codebase 1.1.8
SVN Range
AppliesTo Extension
Component WysiwygPlugin
Priority Normal
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release01x01Checkins
Topic revision: r3 - 14 Oct 2014, KoenMartens
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