• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

The WYSIWYG editor introduces an unwanted space after WikiWords. This can break apps. Example on TWiki:Sandbox.WebHome:

RandomTestTopic3735

written as:

RandomTestTopic%CALC{$SET(num,$INT($RAND(10000)))$GET(num)}%

After editing this with WYSIWYG editor you get this:

RandomTestTopic %CALC{$SET(num,$INT($RAND(10000)))$GET(num)}%

Notice the space.

Workaround for bug: Put the WikiWord inside the CALC:

%CALC{$SET(num,$INT($RAND(10000)))RandomTestTopic$GET(num)}%

-- PTh

The Wysiwyg editor has certain caveats; one of them is that it shouldn't be used with topics containing complex TML. This is one of those topics. Your workaround is fine, please continue to use that.

Discarding.

CC

ItemTemplate
Summary WysiwygPlugin: Unwanted space after WikiWord
ReportedBy TWiki:Main.PeterThoeny
Codebase 4.0.2
SVN Range Tue, 30 May 2006 build 10392
AppliesTo Extension
Component WysiwygPlugin
Priority Normal
CurrentState No Action Required
WaitingFor

Checkins

TargetRelease n/a
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2006-06-02 - CrawfordCurrie
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback