// This javascript was originally written by Alex King: www.alexking.org // Modifications noted below were made by Jennifer of scriptygoddess.com : // Removed all but the "most popular" html tags used in comments // with the express purpose of including it in the comments form on blogs // These changes were made on 6/10/2004 // // For the FULL version of Alex's script (which has ALOT MORE functionality! // go here: // http://www.alexking.org/blog/2004/06/03/js-quicktags-under-lgpl/ // // JS QuickTags version 1.0 // // Copyright (c) 2002-2004 Alex King // http://www.alexking.org/ // // Licensed under the LGPL license // http://www.gnu.org/copyleft/lesser.html // // ********************************************************************** // This program is distributed in the hope that it will be useful, but // WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. // ********************************************************************** // // This JavaScript will insert the tags below at the cursor position in IE and // Gecko-based browsers (Mozilla, Camino, Firefox, Netscape). For browsers that // do not support inserting at the cursor position (Safari, OmniWeb) it appends // the tags to the end of the content. // // The variable 'edCanvas' must be defined as the