Hi call the ckeditor with php!
How it is possible to add a button to toolbar in PHP?
When i click this button pop up a window and this load xy.php?
Thanks Omelon
How it is possible to add a button to toolbar in PHP?
When i click this button pop up a window and this load xy.php?
include_once( "ckeditor.php"); $CKEditor = new CKEditor(); $CKEditor->returnOutput = true; $CKEditor->basePath = WYSIWYG_FTP_PATH; $CKEditor->config['width'] = 800; $CKEditor->textareaAttributes = array("cols" => 80, "rows" => 10); $configEditor['toolbar'] = array( array( 'Source','-','Save','NewPage','Preview','-','Templates' ), array( 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt' ), array( 'Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat' ), array( 'Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField' ), array( 'Bold','Italic','Underline','Strike','-','Subscript','Superscript' ), array( 'NumberedList','BulletedList','-','Outdent','Indent','Blockquote' ), array( 'JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock' ), array( 'Link','Unlink','Anchor' ), array( 'Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak' ), array( 'Styles','Format','Font','FontSize' ), array( 'TextColor','BGColor' ), array( 'Maximize', 'ShowBlocks','-','About' ) ); $configEditor['skin'] = 'v2';
Thanks Omelon
Re: New button with php calling
Have you got answer. I am also looking for this answer