• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7700 for generic doc work for TWiki-6.0.2. Use View topic Item7703 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.

Item5294: Wysywig & TinyMCE corrupt some topics.

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension WysiwygPlugin Normal Closed   patch 4.2.1

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


Wysqwig plugin and TinyMCE editor still scrambles some topics, even when tags are used to protect sections of the topic.

  • < and > markup is changed to span tags. Causes the enclosed dot tag to be interpreted.
  • verbatim tag inside a sticky block is changed to verbatim missing the leading less-than and followed by hex characters EF.BF.BD
  • explicit html break tags are removed from inside sticky blocks
  • text within a pre block is all run together
  • nbsp is removed

To recreate, edit the DirectedGraphPlugin topic and save it without making any changes. Attached is a "diff" of the changes made after a simple edit/save. Note that the DirectedGraphPlugin does not need to be installed to observe the issues.

(Running from SVN rev 16300)

  • DGP-diff.txt: diff excluding whitespace changes after Wysiwyg edit

-- TWiki:Main/GeorgeClark - 27 Jan 2008

The <dot> ( dot-in-angle-brackets ) issue is generic to 4.2.0 WYSIWYG edits of <enter> ( enter-in-angle-brackets ) -- they don't survive round trips through a WYSIWYG edit.

Also &2013; becomes %2013 for some reason in 4.2.0.

We are running off the-shelve Twiki 4.2.0 + late January TinyMCE (TWiki-4, $Rev: 16290 (25 Jan 2008) $) and Wysiwyg plugins (TWiki-4.2, $Rev: 16350 (06 Feb 2008) $) as suggested in Known Issues and additionally TWikiDraw plugin Dakar, 8154

-- TWiki:Main.RichardPenner - 27 Feb 2008

I suppose this is variation of this bug, but a rather bad one. Editing TWikiPreferences causes some problems. For example, it insert a couple of spaces after setting for ICONTOPIC resulting in all the skin icons being broken. Don't know yet what other mischief it causes.

-- TWiki:Main.LynnwoodBrown - 29 Feb 2008

Can you please provide step-by-step instructions on how to reproduce this problem. 90% of the time spent on fixing bugs is in trying to build a testcase that reproduces the problem, so step-by-step would be very helpful, thanks.


No worries, I have seen the angle-brace problem myself. Confirmed.

Mostly this is due to two issues; first, that verbatim and literal tags have higher priority than sticky, which is clearly a mistake. And second, that angle brackets are being mishandled, due to the fix for Item5179. The problem with newlines in pre blocks is specifically tracked in Item5337 and appears to be a bug in Tiny MCE, or perhaps in the browser.

Fixed all (I think) except the space-in-pre issue, which is tracked in Item5337. Merged to TWikiRelease04x02.

-- CrawfordCurrie - 28 Mar 2008

Summary Wysywig & TinyMCE corrupt some topics.
ReportedBy TWiki:Main.GeorgeClark
Codebase ~twiki4
SVN Range TWiki-5.0.0, Wed, 23 Jan 2008, build 16283
AppliesTo Extension
Component WysiwygPlugin
Priority Normal
CurrentState Closed

Checkins TWikirev:16574 TWikirev:16577
TargetRelease patch
ReleasedIn 4.2.1
Topic attachments
I Attachment History Action Size Date Who Comment
Texttxt DGP-diff-ws.txt r1 manage 38.1 K 2008-01-27 - 16:26 GeorgeClark diff including whitespace changes after Wysiwyg edit
Texttxt DGP-diff.txt r1 manage 8.2 K 2008-01-27 - 16:22 GeorgeClark diff excluding whitespace changes after Wysiwyg edit
Edit | Attach | Watch | Print version | History: r15 < r14 < r13 < r12 < r11 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r15 - 2008-08-04 - KennethLavrsen
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback