Tags:
create new tag
view all tags
Sometimes when I'm doing heavy editing it's easier to copy the contents of the edit or raw view and paste into a text editor such as emacs. It's a bit of a pain in the butt to have to select the whole text in the text area, so how about we add a button to do it to the default raw and edit templates? The following JavaScript fragment does the business:
<input type=button value="Select All Text" onClick="javascript:document.main.text.focus();document.main.text.select();">
It works on Konqueror and IE, but I can't speak for other browsers.

-- CrawfordCurrie - 12 Jul 2004

Topic revision: r1 - 2004-07-12 - CrawfordCurrie
 
  • 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-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.