Item8094: Pickaxe editing doesn't work on trunk

pencil
Priority: Urgent
Current State: Closed
Released In:
Target Release:
Applies To: Extension
Component: TinyMCEPlugin
Branches:
Reported By: Foswiki:Main.OlivierRaginel
Waiting For:
Last Change By: MichaelTempest
Since the upgrade to the latest TinyMCE, pickaxe editing no longer works.

When you edit using the Wysiwyg, then click the pickaxe, and then make changes, when you click save, the page will be saved as it looked when you clicked the pickaxe, and all the changes you did in raw TML view are lost.

I tried that on FF on windows and linux, and on Chrome on windows, and all fail. It couldn't try on IE on windows because there doesn't seem to be any pickaxe on IE7.

-- OlivierRaginel - 01 Apr 2009

I can confirm this in trunk.

Including the below content in TML will invoke the plugin to include a protected span element.
%TOC%

---+ This is a test

---++ JQuery another test here

---+ 2nd h1 header

The content saves fine, but does not render in view. When user goes back to edit the file in wysiwyg mode, all content is still there, including TOC being protected. Problem happens after clicking pickaxe, and the TOC is gone.

This is the same for SET where,
   * A description of below
      * Set VARIABLE = whatever here

will not be saved properly or rendered.

Forcing the user to use TML mode only works as expected.

Fixed by poking TMCE in the naughty bits until it squeaked.

-- CrawfordCurrie - 03 Apr 2009

I am reopening this task because the original problem (When you edit using the Wysiwyg, then click the pickaxe, and then make changes, when you click save, the page will be saved as it looked when you clicked the pickaxe, and all the changes you did in raw TML view are lost) is present on trunk.

I noticed that the "Wiki text" edit text-box shows HTML very briefly when I click save. I don't really mind the brief appearance of the HTML, but the HTML did not include the change I made in the "Wiki text" edit box. I suspect that might be a problem.

Howevr, if I click on the "Wiki text" button, make some changes and then click on the WYSIWYG button, the changes are transfered to the WYSIWYG editor, and they are saved if I hit the WYSIWYG "save" button.

-- MichaelTempest - 26 Apr 2009

  • Set TINYMCEPLUGIN_DISABLE = 0
Interesting. Works perfectly on my server, but not here :-/

Nothing in the apache logs, nothing in the error console, same browser. Are you using the FoswikiSiteSkin, by any chance?

-- CrawfordCurrie - 29 Apr 2009

This was fixed on trunk somewhere between revisions 3746 and 3794 (probably related to CrawfordCurrie's 3777 checkin. Changing to closed.

-- MichaelTempest - 01 May 2009

ItemTemplate edit

Summary Pickaxe editing doesn't work on trunk
ReportedBy Foswiki:Main.OlivierRaginel
Codebase trunk
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Extension
Component TinyMCEPlugin
Priority Urgent
CurrentState Closed
WaitingFor
Checkins distro:09897a089432
ReleasedIn
Topic revision: r7 - 01 May 2009, MichaelTempest
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