summaryrefslogtreecommitdiff
path: root/httemplate/elements/fckeditor/editor/plugins/placeholder/fckplugin.js
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements/fckeditor/editor/plugins/placeholder/fckplugin.js')
-rw-r--r--httemplate/elements/fckeditor/editor/plugins/placeholder/fckplugin.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/httemplate/elements/fckeditor/editor/plugins/placeholder/fckplugin.js b/httemplate/elements/fckeditor/editor/plugins/placeholder/fckplugin.js
index 26489b872..ec4e1a510 100644
--- a/httemplate/elements/fckeditor/editor/plugins/placeholder/fckplugin.js
+++ b/httemplate/elements/fckeditor/editor/plugins/placeholder/fckplugin.js
@@ -1,6 +1,6 @@
/*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
- * Copyright (C) 2003-2007 Frederico Caldeira Knabben
+ * Copyright (C) 2003-2010 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
@@ -22,7 +22,7 @@
*/
// Register the related command.
-FCKCommands.RegisterCommand( 'Placeholder', new FCKDialogCommand( 'Placeholder', FCKLang.PlaceholderDlgTitle, FCKPlugins.Items['placeholder'].Path + 'fck_placeholder.html', 340, 170 ) ) ;
+FCKCommands.RegisterCommand( 'Placeholder', new FCKDialogCommand( 'Placeholder', FCKLang.PlaceholderDlgTitle, FCKPlugins.Items['placeholder'].Path + 'fck_placeholder.html', 340, 160 ) ) ;
// Create the "Plaholder" toolbar button.
var oPlaceholderItem = new FCKToolbarButton( 'Placeholder', FCKLang.PlaceholderBtn ) ;
@@ -37,7 +37,7 @@ var FCKPlaceholders = new Object() ;
// Add a new placeholder at the actual selection.
FCKPlaceholders.Add = function( name )
{
- var oSpan = FCK.CreateElement( 'SPAN' ) ;
+ var oSpan = FCK.InsertElement( 'span' ) ;
this.SetupSpan( oSpan, name ) ;
}
@@ -184,4 +184,4 @@ FCKXHtml.TagProcessors['span'] = function( node, htmlNode )
FCKXHtml._AppendChildNodes( node, htmlNode, false ) ;
return node ;
-} \ No newline at end of file
+}