• 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.

Item5160: TinyMCE + NatEditContrib = broken editor in IE

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension NatEditContrib Normal No Action Required   n/a  

Edit Form Data

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


Firefox, IE7 and Opera each seem to have their own way of dealing with the way NatEditContrib manages its toolbars when a wysiwyg editor is shown:
  • Firefox: hides everything except save/preview buttons based on element names (hide_in_wysiwyg)
  • IE7: hides everything, no buttons are shown. (i.e. no way to save your text)
  • Opera: shows everything, no buttons are hidden

Editing the template edittoolbar.word.natedit.tmpl and removing class natEditHiddenToolBar from natEditToolBar fixes most of the problems. Firefox behaviour remains the same, and IE7 shows the entire toolbar.

-- TWiki:Main.MarkVanHeeswijk - 21 Dec 2007


In my setup (TWiki 4.1.2 with TWiki:Plugins/NatEditContrib and TWiki:Plugins/TinyMCEPlugin) the situation is the following (when using the WYSIWYG editor):

  • FF2: Only save/preview/cancel buttons are shown (as intended).
  • IE6: Initially, all buttons were shown. I found out that getElementsByName that is used in edit.js to hide the buttons isn't recognised by IE6 for all elements (for once, IE is actually closer to the W3C standard as getElementsByName can only be used for form elements in XHTML). My work-around was to use getElementsById which is a bit of a hassle since you have to use different IDs for all the different buttons.

Additionally, I've got the following two problems:

  • When saving in IE6 I get a popup telling me that I'm leaving the page and that all changes you made will be lost. If I then click OK, the topic will be saved fine but it's rather confusing. This is TinyMCE trying to take over control. So far, I havent' found a fix.
  • When using NatEdit and clicking the checkpoint button, the topic is saved but then reopened in WYSIWYG. I guess this is not intended.

Should I open new bug reports for the last two issues?

In general, I guess it would be best to completely separate the UI for the two editors, i.e. continue using the save/checkpoint/cancel buttons below the text area for WYSIWYG and only using NatEdit's buttons for NatEdit.

-- TWiki:Main.MartinKaufmann - 22 Feb 2008

Stale: Setting unmaintained extension to "no action required".

-- PeterThoeny - 2010-10-12

Summary TinyMCE + NatEditContrib = broken editor in IE
ReportedBy TWiki:Main.MarkVanHeeswijk
Codebase 4.1.2
SVN Range TWiki-4.3.0, Tue, 18 Dec 2007, build 16029
AppliesTo Extension
Component NatEditContrib
Priority Normal
CurrentState No Action Required


TargetRelease n/a

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r3 - 2010-10-12 - PeterThoeny
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback