New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists

Item2245: Upgrade TinyMCEPlugin to 3.2.7

Priority: Enhancement
Current State: Closed
Released In: 1.0.8
Target Release: patch
Applies To: Extension
Component: TinyMCEPlugin
Reported By: PaulHarvey
Waiting For: Main.PaulHarvey
Last Change By: KennethLavrsen
3.2.7 has 118 entries in the changelong since 3.2.2, including 99 bugfixes, some of which my users would be very happy to see, particularly relating to the paste plugin.

This is a simple upgrade, so far just extracting the latest release into /pub seems to be successful.

Release Version file Filesize
3.2.2 - tiny_mce.js 192KiB
3.2.2 - tiny_mce_src.js 308KiB
3.2.7 Dev tiny_mce.js 180KiB
3.2.7 Dev tiny_mce_src.js 324KiB
3.2.7 JQuery tiny_mce.js 168KiB
3.2.7 JQuery tiny_mce_src.js 304KiB

  • ... remember raw vs WYSIWYG state via cookies.

  • Testing stand-alone (dev) version of 3.2.7, before committing to trunk.

  • Make a new release of TinyMCEPlugin with 3.2.7-dev.
  • Make a separate release which has a configure option to use JQuery version
    • Involves isolating foswiki plugin outside of the TMCE directory structure.

-- PaulHarvey - 13 Oct 2009

I have uploaded a new release. It needs more testing in Internet Explorers, so I have raised this Task to Urgent to block a release until some testing is done or TMCE Plugin is rolled back.

I'm reasonably confident the new release is well behaved with:
  • Firefox (Iceweasel) 3.0.12 (still working on Item2254)
  • Firefox 3.5.3 (still working on Item2254)
  • Opera 10.00 1750 (although it has its quirks, no more than usual)
  • Chrome
  • Safari 4.0.3

As I release this I'm having trouble testing with IE (one lonely Windows VM at home and its IECollections seems to have hosed Javascript).

Seems to work okay on IE 6.0.2900.2180 under Wine (if a bit slow, but perhaps that's wine).

I have enabled the new standard plugin, wordcount, by default. If IEs are slow on native Windows PCs we should disable wordcount.

Note: I couldn't get *JavaScript::Minify= to not choke on TinyMCE's visualchars plugin code. I modified that perl module so that it would skip over the file it didn't like, and when the build was done I extracted the .tgz and .zip, and replaced the minified .js with the minified .js that ships with TinyMCE 3.2.7 (just on visualchars plugin, one file).

-- PaulHarvey - 17 Oct 2009

I have merged over the changes to Release branch because it is there we release it from and therefore there I want to test it.

-- KennethLavrsen - 18 Oct 2009

I am testing now. And the first thing I see is that the word counter in IE does not work. It says 6 words in a huge document with 100s. So that should be disabled. It is not really an important feature anyway.

-- KennethLavrsen - 18 Oct 2009

The six words is the "Please wait..." message fetching from tml2html. foswiki_tiny should call nodeChanged() after doing setContent()... but that doesn't fix it. The wordcount updates when enter is pressed.

-- PaulHarvey - 18 Oct 2009

Item2270 should fix the wordcount problem. I can merge into release branch if we want to release with wordcount.

-- PaulHarvey - 18 Oct 2009

Fixed JavaScript::Minifier build failure in Release branch. Caused by syntax error in wordcount plugin. The way displays progress information led me to think it was choking on the wrong .js file.

Bug filed upstream at

-- PaulHarvey - 22 Oct 2009

Kenneth, this is ready for release, except that I've done something to the build where it's not setting the proper rev/date on the system topic. So when I do ./ upload, gets a system topic that is unchanged. Is incrementing the release version/date manual?

-- PaulHarvey - 22 Oct 2009

Updated documentation. Uploaded new release. Sorry for the commit noise. Will try to be more thorough before committing in future.

I think this is ready for 1.0.8.

-- PaulHarvey - 29 Oct 2009
Topic revision: r31 - 29 Nov 2009, KennethLavrsen - This page was cached on 20 Jun 2018 - 19:28.

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