You are here: Foswiki>Tasks Web>Item5263 (22 Nov 2010, PaulHarvey)Edit Attach

Item5263: Preview with pickaxe/wysiwyg and Firefox make you lose all you typed when you go back

pencil
Priority: Normal
Current State: Closed
Released In: n/a
Target Release: minor
Applies To: Extension
Component: TinyMCEPlugin
Branches:
Reported By: TWiki:Main.KennethLavrsen
Waiting For:
Last Change By: PaulHarvey
All you have edited is lost if you return from preview with the browser back button when two conditions are met
  • You have passed the pickaxe. It does not matter if you preview from pickaxe mode or you have returned to wysiwyg before you preview
  • You use Firefox This will be very annoying for FF users.

-- TWiki:Main/KennethLavrsen - 18 Jan 2008

I see two better ways to deal with the preview problem.
  1. The difficult. Add button to preview that brings you back to last edit mode. We can save from preview mode so obviously we have the entire topic text in a buffer that we can get back to same way as we change between pickaxe and wysiwyg
  2. The easy. Remove all the buttons from the preview screen and change the display of preview to pop-up in new window. This way you cannot possibly loose anything because your normal edit window is still open.

How difficult is it to implement the number 2? Removing buttons from preview template should be safe. Is it easy to change the action of previewing to open new window?

-- TWiki:Main.KennethLavrsen - 19 Jan 2008

This is currently the most urgent of all bugs so I am adding this comment to elevate it to the top of the changed list.

-- TWiki:Main.KennethLavrsen - 21 Jan 2008

Preview button has been removed (though I note we now have "or or" in the menu bar frown, sad smile ) Lowered to Normal.

CC

The "remove preview" solution seems to be working for everyone, so closing this.

-- CrawfordCurrie - 30 May 2009

I'm reopening the issue, because, no, it isn't working for us. We're using Foswiki as corporate wiki and have got some complains regarding the preview button. The reasoning behind those complains is that:
  • WYSIWYG doesn't expand macros
  • the result isn't exactly the same as you see it in the WYSIWYG

-- EvgeniyKosov - 22 Nov 2010

For our release management process, it doesn't make sense to keep such an old bug (with code committed against it, which has now been released).

I have created Item10065 as a follow-up, please continue there.

-- PaulHarvey - 22 Nov 2010

ItemTemplate edit

Summary Preview with pickaxe/wysiwyg and Firefox make you lose all you typed when you go back
ReportedBy TWiki:Main.KennethLavrsen
Codebase trunk
SVN Range TWiki-4.3.0, Tue, 15 Jan 2008, build 16238
AppliesTo Extension
Component TinyMCEPlugin
Priority Normal
CurrentState Closed
WaitingFor
Checkins TWikirev:16268 TWikirev:16269 TWikirev:16271 TWikirev:16272
TargetRelease minor
ReleasedIn n/a
Topic revision: r12 - 22 Nov 2010, PaulHarvey
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