From what I can see, CKEditor is 100% javascript, so it can work with any server side language. It's just the CKFinder that does not work with Java/JSP yet because the connectors have not been created yet...am I right?
Fri, 02/26/2010 - 23:10
#1

Re: CKEditor works with 3.x, just CKFinder that doesn't, right?
Re: CKEditor works with 3.x, just CKFinder that doesn't, right?
http://docs.cksource.com/CKEditor_3.x/Developers_Guide/File_Browser_(Uploader)
File:/ckeditor/custom/ckeditor_config.js CKEDITOR.editorConfig = function( config ) { config.toolbar = 'MyToolbar'; config.toolbar_MyToolbar = [ ['Source','-','NewPage','Preview'], ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Scayt'], ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'], ['Table','HorizontalRule','Smiley','SpecialChar','PageBreak'], '/', ['Styles','Format'], ['Bold','Italic','Strike'], ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'], ['Link','Unlink','Anchor'], ['Maximize','-','About'] ]; config.toolbar = 'CompleSet'; config.toolbar_CompleteSet = [ ['Source','-','Save','NewPage','Preview','-','Templates'], ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'], ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'], ['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'], '/', ['Bold','Italic','Underline','Strike','-','Subscript','Superscript'], ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'], ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'], ['Link','Unlink','Anchor'], ['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'], '/', ['Styles','Format','Font','FontSize'], ['TextColor','BGColor'], ['Maximize', 'ShowBlocks','-','About'] ]; // preferred way to add sytles -- this loads styles when the drop down is clicked, improving performance config.stylesCombo_stylesSet = 'my_styles:/ckeditor/custom/styles_example.jsp'; //render custom CSS config.contentsCss = ['/css/HF_css.jsp', '/css/common-styles.jsp']; };/* Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.stylesSet.add( 'my_styles', [ /* Block Styles */ // These styles are already available in the "Format" combo, so they are // not needed here by default. You may enable them to avoid placing the // "Format" combo in the toolbar, maintaining the same features. /* { name : 'Paragraph' , element : 'p' }, { name : 'Heading 1' , element : 'h1' }, { name : 'Heading 2' , element : 'h2' }, { name : 'Heading 3' , element : 'h3' }, { name : 'Heading 4' , element : 'h4' }, { name : 'Heading 5' , element : 'h5' }, { name : 'Heading 6' , element : 'h6' }, { name : 'Preformatted Text', element : 'pre' }, { name : 'Address' , element : 'address' }, */ { name : 'Big Blue' , element : 'h3', styles : { 'color' : 'Blue' } }, { name : 'Red Title' , element : 'h3', styles : { 'color' : 'Red' } }, /* Inline Styles */ // These are core styles available as toolbar buttons. You may opt enabling // some of them in the Styles combo, removing them from the toolbar. /* { name : 'Strong' , element : 'strong', overrides : 'b' }, { name : 'Emphasis' , element : 'em' , overrides : 'i' }, { name : 'Underline' , element : 'u' }, { name : 'Strikethrough' , element : 'strike' }, { name : 'Subscript' , element : 'sub' }, { name : 'Superscript' , element : 'sup' }, */ { name : 'Marker: Yellow' , element : 'span', styles : { 'background-color' : 'Yellow' } }, { name : 'Marker: Green' , element : 'span', styles : { 'background-color' : 'Lime' } }, { name : 'Big' , element : 'big' }, { name : 'Small' , element : 'small' }, { name : 'Typewriter' , element : 'tt' }, { name : 'Computer Code' , element : 'code' }, { name : 'Keyboard Phrase' , element : 'kbd' }, { name : 'Sample Text' , element : 'samp' }, { name : 'Variable' , element : 'var' }, { name : 'Deleted Text' , element : 'del' }, { name : 'Inserted Text' , element : 'ins' }, { name : 'Cited Work' , element : 'cite' }, { name : 'Inline Quotation' , element : 'q' }, { name : 'Language: RTL' , element : 'span', attributes : { 'dir' : 'rtl' } }, { name : 'Language: LTR' , element : 'span', attributes : { 'dir' : 'ltr' } }, /* Object Styles */ { name : 'Image on Left', element : 'img', attributes : { 'style' : 'padding: 5px; margin-right: 5px', 'border' : '2', 'align' : 'left' } }, { name : 'Image on Right', element : 'img', attributes : { 'style' : 'padding: 5px; margin-left: 5px', 'border' : '2', 'align' : 'right' } } ]);File: simple.html <html> <head> <title>Sample - CKEditor</title> <script type="text/javascript" src="/ckeditor/ckeditor.js"></script> </head> <body> <form method="post"> <p> My Editor:<br /> <textarea name="editor1"><p>Initial value.</p></textarea> <script type="text/javascript"> CKEDITOR.replace( 'editor1', { customConfig : '/ckeditor/custom/ckeditor_config.js', toolbar : 'MyToolbar' }); </script> </p> <br /><br /> <p> My Editor 2:<br /> <textarea name="editor2"><p>Initial value.</p></textarea> <script type="text/javascript"> CKEDITOR.replace( 'editor2', { toolbar : 'Full' }); </script> </p> <p> <input type="submit" /> </p> </form> </body> </html>