Update of /cvsroot/thyapi/thyapi/thywidgets/external/fckeditor/editor/plugins/placeholder
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv563/thywidgets/external/fckeditor/editor/plugins/placeholder
Modified Files:
fck_placeholder.html fckplugin.js
Log Message:
Commiting file additions and modification from SVN revision 2028 to 2029...
Changes made by frank on 2005-09-29 21:42:57 +0200 (Thu, 29 Sep 2005) corresponding to SVN revision 2029 with message:
updating fckeditor in dynapi
Index: fckplugin.js
===================================================================
RCS file: /cvsroot/thyapi/thyapi/thywidgets/external/fckeditor/editor/plugins/placeholder/fckplugin.js,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** fckplugin.js 1 Sep 2005 19:05:04 -0000 1.1
--- fckplugin.js 29 Sep 2005 19:49:21 -0000 1.2
***************
*** 1,3 ****
! // Register the related command.
FCKCommands.RegisterCommand( 'Placeholder', new FCKDialogCommand( 'Placeholder', FCKLang.PlaceholderDlgTitle, FCKPlugins.Items['placeholder'].Path + 'fck_placeholder.html', 340, 170 ) ) ;
--- 1,20 ----
! /*
! * FCKeditor - The text editor for internet
! * Copyright (C) 2003-2005 Frederico Caldeira Knabben
! *
! * Licensed under the terms of the GNU Lesser General Public License:
! * http://www.opensource.org/licenses/lgpl-license.php
! *
! * For further information visit:
! * http://www.fckeditor.net/
! *
! * File Name: fckplugin.js
! * Plugin to insert "Placeholders" in the editor.
! *
! * File Authors:
! * Frederico Caldeira Knabben (fr...@fc...)
! */
!
! // Register the related command.
FCKCommands.RegisterCommand( 'Placeholder', new FCKDialogCommand( 'Placeholder', FCKLang.PlaceholderDlgTitle, FCKPlugins.Items['placeholder'].Path + 'fck_placeholder.html', 340, 170 ) ) ;
***************
*** 20,32 ****
FCKPlaceholders.SetupSpan = function( span, name )
{
! span.innerHTML = '[[ ' + name + ' ]]' ;
!
! span.style.backgroundColor = '#ffff00' ;
! span.style.color = '#000000' ;
!
if ( FCKBrowserInfo.IsGecko )
! span.style.cursor = 'default' ;
!
! span._fckplaceholder = name ;
span.contentEditable = false ;
--- 37,49 ----
FCKPlaceholders.SetupSpan = function( span, name )
{
! span.innerHTML = '[[ ' + name + ' ]]' ;
!
! span.style.backgroundColor = '#ffff00' ;
! span.style.color = '#000000' ;
!
if ( FCKBrowserInfo.IsGecko )
! span.style.cursor = 'default' ;
!
! span._fckplaceholder = name ;
span.contentEditable = false ;
***************
*** 45,49 ****
{
if ( e.target.tagName == 'SPAN' && e.target._fckplaceholder )
! FCKSelection.SelectElement( e.target ) ;
}
--- 62,66 ----
{
if ( e.target.tagName == 'SPAN' && e.target._fckplaceholder )
! FCKSelection.SelectNode( e.target ) ;
}
Index: fck_placeholder.html
===================================================================
RCS file: /cvsroot/thyapi/thyapi/thywidgets/external/fckeditor/editor/plugins/placeholder/fck_placeholder.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** fck_placeholder.html 1 Sep 2005 19:05:04 -0000 1.1
--- fck_placeholder.html 29 Sep 2005 19:49:21 -0000 1.2
***************
*** 1,3 ****
--- 1,19 ----
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+ <!--
+ * FCKeditor - The text editor for internet
+ * Copyright (C) 2003-2005 Frederico Caldeira Knabben
+ *
+ * Licensed under the terms of the GNU Lesser General Public License:
+ * http://www.opensource.org/licenses/lgpl-license.php
+ *
+ * For further information visit:
+ * http://www.fckeditor.net/
+ *
+ * File Name: fck_placeholder.html
+ * Placeholder Plugin.
+ *
+ * File Authors:
+ * Frederico Caldeira Knabben (fr...@fc...)
+ -->
<html>
<head>
|