Tags:
create new tag
, view all tags

DblClickEditPluginDev Discussion: Page for developer collaboration, enhancement requests, patches and improved versions on DblClickEditPlugin contributed by the TWikiCommunity.
• Please let us know what you think of this extension.
• For support, check the existing questions, or ask a new support question in the Support web!
• Please report bugs below

Feedback on DblClickEditPlugin

Note : we could add this feaure to the wikimatrix (usability area) wink

-- PatrickNomblot

Thank you very much for contributing this Plugin and for sharing it with the TWikiCommunity. One more "checked" for the TWiki listing at WikiMatrix.

Could you please also attach a zip version? This is the package standard for TWiki.

I made a few changes to the Plugin topic. Please feel free to take this back into the release.

How about measuring and documenting the PluginBenchmarks numbers?

-- PeterThoeny - 03 Jul 2006

Great Plugin, thanks! smile One tiny note: Is it possible to deactivate the double click feature, if you are already in edit mode? You can accidently lose your changes, if you mark text by double clicking with results in reloading the edit page.

-- OliverKrueger - 24 Aug 2006

Cool plugin. Is it possible to choose wether wysiwyg or edit is loaded on double click?

Cheers,

-- CarloSchulz - 28 Mar 2007

Avoid double works if you use the standard editor but not if you use wysiwyg.

Ist it possible to add no double click for wysiwyg as well?

-- CarloSchulz - 26 Apr 2007

I just added "no double click for wysiwyg" by myself.

In line 61 replace

   my $editUrl = TWiki::Func::getScriptUrl($web, $topic, "edit") . "?t=". time();

with

   my $editUrl = TWiki::Func::getScriptUrl($web, $topic, "edit") . "?cover=kupu". "?t=". time();

and your wysiwyg should be dbl click save.

-- CarloSchulz - 26 Apr 2007

I also have a fix that disables the double-click editing. Add the following code right after the declaration of "postRenderingHandler"

   my $viewUrl = TWiki::Func::getViewUrl($web, $topic, "view");
   my $realUrl = "$ENV{'SCRIPT_NAME'}/$web/$topic";
   return unless ( $viewUrl =~ /${realUrl}$/ );

-- RobBlake - 20 Apr 2008

I have modified the code in line 61 as follows:

    my $editUrl = TWiki::Func::getScriptUrl($web, $topic, "edit") . "?t=". time() . ";nowysiwyg=1";

This works as expected for Twiki Release 4.2.1

-- MichaelSchmidt - 10 Aug 2008

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2008-08-10 - MichaelSchmidt
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.