Item1394: %PINK% is converted in the Rich Text Editor

Priority: Normal
Current State: Closed
Released In: 1.1.0
Target Release: minor
Applies To: Engine
Component: WysiwygPlugin
Reported By: MartinSeibert
Waiting For:
Last Change By: KennethLavrsen
If you are using a color on the Rich-Text-Editor in Foswiki, the color should be visually displayed on the editor instead of being converted into code.

See this video for a demonstration.

Sample code

---+ Test 2.5
%PINK%The pig is pink!%ENDCOLOR%

Information about the tested instances and browser

Testing environments:


Please provide a verbal description of the error you are seeing. Much as I appreciate the effort that goes into producing these videos, they are time consuming to view, and my (linux) version of flash frequently fails to open them.

-- CrawfordCurrie - 04 Apr 2009

Later; finally saw the video. I hate bloody macros! Confirmed.

-- CrawfordCurrie - 04 Apr 2009

Thanks for taking care of these issues. If you wrote down, what needs to be done, to fix a bug, our programmers might be able to help also. Is that easy or just as much work as fixing the bug right away?

-- MartinSeibert - 04 Apr 2009

I'm afraid fixing something like this is usually 90% generating a reproducible testcase, 5% understanding the problem, and 5% fixing it.

-- CrawfordCurrie - 08 Apr 2009

Many years ago the ™Wiki troll decided to define 'pink' as #ff00ff. As long as the ™Wiki troll only played with himself, then that was great; pink was pink. Unknown to the ™Wiki troll, all the other trolls knew that #ff00ff is called 'fuchsia', and called a completely different colour, #ffc0cb, 'pink'. One day, the ™Wiki troll came out of his hole to play with another troll, called Tiny. Tiny had lots of friends, and one special friend called HTML 4.01 who had taught him the true names for #ff00ff and #ffc0cb.

The two trolls decided to play a game; ™Wiki would throw Tiny a whole handful of coloured balls, and shout the name of one colour. Tiny would have to catch the ball of the same colour and throw it back to ™Wiki. If Tiny got the right ball and threw it back, he would win. If he passed back the wrong ball, he would lose. When ™Wiki shouted 'pink', Tiny grabbed the pink ball and threw it back to ™Wiki, thinking he had won the game. But the ball hit ™Wiki square on the nose, and broke it, and there was blood everywhere.

And the moral of this story is; follow the fucking specs, or something is going to break your nose sooner or later.

-- CrawfordCurrie - 10 Apr 2009

And if someone would also remember to fill out the fucking TargetRelease and ReleasedIn fields so I do not have to spend time finding out if the fix is in trunk or Release branch it would be even better. wink

-- KennethLavrsen - 10 Apr 2009

ItemTemplate edit

Summary %PINK% is converted in the Rich Text Editor
ReportedBy MartinSeibert
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Engine
Component WysiwygPlugin
Priority Normal
CurrentState Closed
Checkins distro:551a378c724d distro:0693e99307ac
TargetRelease minor
ReleasedIn 1.1.0
Topic revision: r12 - 04 Oct 2010, KennethLavrsen
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