Index: /CKEditor/trunk/_samples/adobeair/sample.html =================================================================== --- /CKEditor/trunk/_samples/adobeair/sample.html (revision 6357) +++ /CKEditor/trunk/_samples/adobeair/sample.html (revision 6358) @@ -18,5 +18,5 @@
-- CKEditor - The text editor for Internet - http://ckeditor.com + CKEditor - The text editor for Internet - http://ckeditor.com
- Copyright © 2003-2011, CKSource - Frederico + Copyright © 2003-2011, CKSource - Frederico Knabben. All rights reserved.
Index: /CKEditor/trunk/_samples/ajax.html =================================================================== --- /CKEditor/trunk/_samples/ajax.html (revision 6357) +++ /CKEditor/trunk/_samples/ajax.html (revision 6358) @@ -51,5 +51,5 @@ -- CKEditor - The text editor for the Internet - http://ckeditor.com + CKEditor - The text editor for the Internet - http://ckeditor.com
- Copyright © 2003-2011, CKSource - Frederico + Copyright © 2003-2011, CKSource - Frederico Knabben. All rights reserved.
Index: /CKEditor/trunk/_samples/api.html =================================================================== --- /CKEditor/trunk/_samples/api.html (revision 6357) +++ /CKEditor/trunk/_samples/api.html (revision 6358) @@ -125,5 +125,5 @@ -This sample shows how to use the - CKEditor JavaScript API + CKEditor JavaScript API to interact with the editor at runtime.
@@ -186,8 +186,8 @@- CKEditor - The text editor for the Internet - http://ckeditor.com + CKEditor - The text editor for the Internet - http://ckeditor.com
- Copyright © 2003-2011, CKSource - Frederico + Copyright © 2003-2011, CKSource - Frederico Knabben. All rights reserved.
Index: /CKEditor/trunk/_samples/api_dialog.html =================================================================== --- /CKEditor/trunk/_samples/api_dialog.html (revision 6357) +++ /CKEditor/trunk/_samples/api_dialog.html (revision 6358) @@ -107,5 +107,5 @@ -This sample shows how to use the - CKEditor Dialog API + CKEditor Dialog API to customize CKEditor dialog windows without changing the original editor code. The following customizations are being done in the example below: @@ -192,8 +192,8 @@
- CKEditor - The text editor for the Internet - http://ckeditor.com + CKEditor - The text editor for the Internet - http://ckeditor.com
- Copyright © 2003-2011, CKSource - Frederico + Copyright © 2003-2011, CKSource - Frederico Knabben. All rights reserved.
Index: /CKEditor/trunk/_samples/asp/advanced.asp =================================================================== --- /CKEditor/trunk/_samples/asp/advanced.asp (revision 6357) +++ /CKEditor/trunk/_samples/asp/advanced.asp (revision 6358) @@ -21,5 +21,5 @@ -- CKEditor - The text editor for Internet - http://ckeditor.com + CKEditor - The text editor for Internet - http://ckeditor.com
- Copyright © 2003-2011, CKSource - Frederico + Copyright © 2003-2011, CKSource - Frederico Knabben. All rights reserved.
Index: /CKEditor/trunk/_samples/asp/events.asp =================================================================== --- /CKEditor/trunk/_samples/asp/events.asp (revision 6357) +++ /CKEditor/trunk/_samples/asp/events.asp (revision 6358) @@ -21,5 +21,5 @@ -- CKEditor - The text editor for Internet - http://ckeditor.com + CKEditor - The text editor for Internet - http://ckeditor.com
- Copyright © 2003-2011, CKSource - Frederico + Copyright © 2003-2011, CKSource - Frederico Knabben. All rights reserved.
Index: /CKEditor/trunk/_samples/asp/index.html =================================================================== --- /CKEditor/trunk/_samples/asp/index.html (revision 6357) +++ /CKEditor/trunk/_samples/asp/index.html (revision 6358) @@ -10,8 +10,8 @@ -dim editor +dim editor set editor = New CKEditor
editor.basePath = "../../"+
editor.basePath = "../../"
editor.replaceInstance "editor1"+
editor.replaceInstance "editor1"
editor.replaceAll empty+
editor.replaceAll empty
editor.editor "editor1", initialValue+
editor.editor "editor1", initialValue
Before step 3 you can use a number of methods and properties to adjust the behavior of this class and the CKEditor instances that will be created:
-- CKEditor - The text editor for Internet - http://ckeditor.com + CKEditor - The text editor for Internet - http://ckeditor.com
- Copyright © 2003-2011, CKSource - Frederico + Copyright © 2003-2011, CKSource - Frederico Knabben. All rights reserved.
Index: /CKEditor/trunk/_samples/asp/replaceall.asp =================================================================== --- /CKEditor/trunk/_samples/asp/replaceall.asp (revision 6357) +++ /CKEditor/trunk/_samples/asp/replaceall.asp (revision 6358) @@ -21,5 +21,5 @@ -- CKEditor - The text editor for Internet - http://ckeditor.com + CKEditor - The text editor for Internet - http://ckeditor.com
- Copyright © 2003-2011, CKSource - Frederico + Copyright © 2003-2011, CKSource - Frederico Knabben. All rights reserved.
Index: /CKEditor/trunk/_samples/asp/sample_posteddata.asp =================================================================== --- /CKEditor/trunk/_samples/asp/sample_posteddata.asp (revision 6357) +++ /CKEditor/trunk/_samples/asp/sample_posteddata.asp (revision 6358) @@ -13,5 +13,5 @@ -<%=Server.HTMLEncode( Request.Form(sForm) )%>
<%=Server.HTMLEncode( Request.Form(sForm) )%>
- CKEditor - The text editor for Internet - http://ckeditor.com + CKEditor - The text editor for Internet - http://ckeditor.com
- Copyright © 2003-2011, CKSource - Frederico Knabben. All rights reserved. + Copyright © 2003-2011, CKSource - Frederico Knabben. All rights reserved.
Index: /CKEditor/trunk/_samples/asp/standalone.asp =================================================================== --- /CKEditor/trunk/_samples/asp/standalone.asp (revision 6357) +++ /CKEditor/trunk/_samples/asp/standalone.asp (revision 6358) @@ -21,5 +21,5 @@ -- CKEditor - The text editor for Internet - http://ckeditor.com + CKEditor - The text editor for Internet - http://ckeditor.com
- Copyright © 2003-2011, CKSource - Frederico + Copyright © 2003-2011, CKSource - Frederico Knabben. All rights reserved.
Index: /CKEditor/trunk/_samples/assets/_posteddata.php =================================================================== --- /CKEditor/trunk/_samples/assets/_posteddata.php (revision 6357) +++ /CKEditor/trunk/_samples/assets/_posteddata.php (revision 6358) @@ -13,5 +13,5 @@ -- CKEditor - The text editor for the Internet - http://ckeditor.com + CKEditor - The text editor for the Internet - http://ckeditor.com
- Copyright © 2003-2011, CKSource - Frederico Knabben. All rights reserved. + Copyright © 2003-2011, CKSource - Frederico Knabben. All rights reserved.
Index: /CKEditor/trunk/_samples/autogrow.html =================================================================== --- /CKEditor/trunk/_samples/autogrow.html (revision 6357) +++ /CKEditor/trunk/_samples/autogrow.html (revision 6358) @@ -17,5 +17,5 @@ -autoGrow_maxHeight
attribute, insert the following JavaScript call to your code:
- CKEDITOR.replace( 'textarea_id', +CKEDITOR.replace( 'textarea_id', { extraPlugins : 'autogrow', @@ -97,8 +97,8 @@
- CKEditor - The text editor for the Internet - http://ckeditor.com + CKEditor - The text editor for the Internet - http://ckeditor.com
- Copyright © 2003-2011, CKSource - Frederico + Copyright © 2003-2011, CKSource - Frederico Knabben. All rights reserved.
Index: /CKEditor/trunk/_samples/divreplace.html =================================================================== --- /CKEditor/trunk/_samples/divreplace.html (revision 6357) +++ /CKEditor/trunk/_samples/divreplace.html (revision 6358) @@ -75,5 +75,5 @@ -+
CKEditor Sample — Replace DIV with CKEditor on the Fly
@@ -143,8 +143,8 @@
- CKEditor - The text editor for the Internet - http://ckeditor.com + CKEditor - The text editor for the Internet - http://ckeditor.com
- Copyright © 2003-2011, CKSource - Frederico + Copyright © 2003-2011, CKSource - Frederico Knabben. All rights reserved.
Index: /CKEditor/trunk/_samples/enterkey.html =================================================================== --- /CKEditor/trunk/_samples/enterkey.html (revision 6357) +++ /CKEditor/trunk/_samples/enterkey.html (revision 6358) @@ -40,5 +40,5 @@ -+
CKEditor Sample — ENTER Key Configuration
@@ -47,10 +47,10 @@ This sample shows how to configure the Enter and Shift+Enter keys to perform actions specified in the -enterMode
- andshiftEnterMode
+enterMode
+ andshiftEnterMode
parameters, respectively. You can choose from the following options: -+
ENTER_P
– new<p>
paragraphs are created;- @@ -60,5 +60,5 @@ The sample code below shows how to configure CKEditor to create a
ENTER_BR
– lines are broken with<br>
elements;<div>
block when Enter key is pressed. -CKEDITOR.replace( 'textarea_id', +CKEDITOR.replace( 'textarea_id', { enterMode : CKEDITOR.ENTER_DIV @@ -109,8 +109,8 @@
- CKEditor - The text editor for the Internet - http://ckeditor.com + CKEditor - The text editor for the Internet - http://ckeditor.com
- Copyright © 2003-2011, CKSource - Frederico + Copyright © 2003-2011, CKSource - Frederico Knabben. All rights reserved.
Index: /CKEditor/trunk/_samples/fullpage.html =================================================================== --- /CKEditor/trunk/_samples/fullpage.html (revision 6357) +++ /CKEditor/trunk/_samples/fullpage.html (revision 6358) @@ -17,5 +17,5 @@ -+
CKEditor Sample — Full Page Editing
@@ -28,5 +28,5 @@ CKEditor is inserted with a JavaScript call using the following code: -CKEDITOR.replace( 'textarea_id', +CKEDITOR.replace( 'textarea_id', { fullPage : true @@ -69,8 +69,8 @@
- CKEditor - The text editor for the Internet - http://ckeditor.com + CKEditor - The text editor for the Internet - http://ckeditor.com
- Copyright © 2003-2011, CKSource - Frederico + Copyright © 2003-2011, CKSource - Frederico Knabben. All rights reserved.
Index: /CKEditor/trunk/_samples/index.html =================================================================== --- /CKEditor/trunk/_samples/index.html (revision 6357) +++ /CKEditor/trunk/_samples/index.html (revision 6358) @@ -11,74 +11,74 @@ -+
CKEditor Samples Site
-+
Basic Samples
-+
-
- - Replace textarea elements by class name
-
+ Replace textarea elements by class name
Automatic replacement of all textarea elements of a given class with a CKEditor instance.- Replace textarea elements by code
+- Replace textarea elements by code
-
Replacement of textarea elements with CKEditor instances by using a JavaScript call.- Full page support
+- Full page support
CKEditor inserted with a JavaScript call and used to edit the whole page from<html>
to</html>
.+
Basic Customization
--
- Skins
++
-- Skins
-
Changing the CKEditor skin by adjusting a single configuration option.- User Interface color
+- User Interface color
-
Changing CKEditor User Interface color and adding a toolbar button that lets the user set the UI color.- User Interface languages
+- User Interface languages
-
Changing CKEditor User Interface language and adding a drop-down list that lets the user choose the UI language.- AutoGrow plugin
+- AutoGrow plugin
Using the AutoGrow plugin in order to make the editor grow to fit the size of its content.+
Advanced Samples
--
- Replace DIV elements on the fly
++
- Replace DIV elements on the fly
-
Transforming adiv
element into an instance of CKEditor with a mouse click.- Create and destroy editor instances for Ajax applications
+- Create and destroy editor instances for Ajax applications
-
Creating and destroying CKEditor instances on the fly and saving the contents entered into the editor window.- Basic usage of the API
+- Basic usage of the API
-
Using the CKEditor JavaScript API to interact with the editor at runtime.- Using the JavaScript API to customize dialog windows
+- Using the JavaScript API to customize dialog windows
-
Using the dialog windows API to customize dialog windows without changing the original editor code.- Using the "Enter" key in CKEditor
+- Using the "Enter" key in CKEditor
-
Configuring the behavior of Enter and Shift+Enter keys.- Shared toolbars
+- Shared toolbars
-
Displaying multiple editor instances that share the toolbar and/or the elements path.- jQuery adapter example
+- jQuery adapter example
-
Using the jQuery adapter to configure CKEditor.- Output XHTML
+- Output XHTML
-
Configuring CKEditor to produce XHTML 1.1 compliant code.- Output HTML
+- Output HTML
-
Configuring CKEditor to produce legacy HTML 4 code.- Output for Flash
+- Output for Flash
-
Configuring CKEditor to produce HTML code that can be used with Adobe Flash.- Placeholder plugin
+- Placeholder plugin
@@ -87,8 +87,8 @@
Using the Placeholder plugin to create uneditable sections that can only be created and modified with a proper dialog window.
- CKEditor - The text editor for the Internet - http://ckeditor.com + CKEditor - The text editor for the Internet - http://ckeditor.com
- Copyright © 2003-2011, CKSource - Frederico Knabben. All rights reserved. + Copyright © 2003-2011, CKSource - Frederico Knabben. All rights reserved.
Index: /CKEditor/trunk/_samples/jqueryadapter.html =================================================================== --- /CKEditor/trunk/_samples/jqueryadapter.html (revision 6357) +++ /CKEditor/trunk/_samples/jqueryadapter.html (revision 6358) @@ -40,5 +40,5 @@ -+
CKEditor Sample — Using jQuery Adapter
@@ -46,5 +46,5 @@This sample shows how to load CKEditor and configure it using the - jQuery adapter. + jQuery adapter. In this case the jQuery adapter is responsible for transforming a
-<textarea>
element into a CKEditor instance and setting the configuration of the toolbar. @@ -54,5 +54,5 @@ following JavaScript code:$(function() +$(function() { var config = { @@ -94,8 +94,8 @@
- CKEditor - The text editor for the Internet - http://ckeditor.com + CKEditor - The text editor for the Internet - http://ckeditor.com
- Copyright © 2003-2011, CKSource - Frederico + Copyright © 2003-2011, CKSource - Frederico Knabben. All rights reserved.
Index: /CKEditor/trunk/_samples/output_for_flash.html =================================================================== --- /CKEditor/trunk/_samples/output_for_flash.html (revision 6357) +++ /CKEditor/trunk/_samples/output_for_flash.html (revision 6358) @@ -33,5 +33,5 @@ -+
CKEditor Sample — Producing Flash Compliant HTML Output
@@ -40,5 +40,5 @@ This sample shows how to configure CKEditor to output HTML code that can be used with - + Adobe Flash. The code will contain a subset of standard HTML elements like<b>
, @@ -268,8 +268,8 @@
- CKEditor - The text editor for the Internet - http://ckeditor.com + CKEditor - The text editor for the Internet - http://ckeditor.com
- Copyright © 2003-2011, CKSource - Frederico + Copyright © 2003-2011, CKSource - Frederico Knabben. All rights reserved.
Index: /CKEditor/trunk/_samples/output_html.html =================================================================== --- /CKEditor/trunk/_samples/output_html.html (revision 6357) +++ /CKEditor/trunk/_samples/output_html.html (revision 6358) @@ -17,5 +17,5 @@ -+
CKEditor Sample — Producing HTML Compliant Output
@@ -23,5 +23,5 @@This sample shows how to configure CKEditor to output valid - HTML 4.01 code. + HTML 4.01 code. Traditional HTML elements like
-<b>
,<i>
, and<font>
are used in place of @@ -36,5 +36,5 @@ full definition:CKEDITOR.replace( 'textarea_id', +CKEDITOR.replace( 'textarea_id', { coreStyles_bold : { element : 'b' }, @@ -280,8 +280,8 @@
- CKEditor - The text editor for the Internet - http://ckeditor.com + CKEditor - The text editor for the Internet - http://ckeditor.com
- Copyright © 2003-2011, CKSource - Frederico + Copyright © 2003-2011, CKSource - Frederico Knabben. All rights reserved.
Index: /CKEditor/trunk/_samples/output_xhtml.html =================================================================== --- /CKEditor/trunk/_samples/output_xhtml.html (revision 6357) +++ /CKEditor/trunk/_samples/output_xhtml.html (revision 6358) @@ -17,5 +17,5 @@ -+
CKEditor Sample — Producing XHTML Compliant Output
@@ -23,5 +23,5 @@This sample shows how to configure CKEditor to output valid - XHTML 1.1 code. + XHTML 1.1 code. Deprecated elements (
-<font>
,<u>
) or attributes (size
,face
) will be replaced with XHTML compliant code. @@ -35,5 +35,5 @@ full definition:CKEDITOR.replace( 'textarea_id', +CKEDITOR.replace( 'textarea_id', { contentsCss : 'assets/output_xhtml.css', @@ -175,8 +175,8 @@
- CKEditor - The text editor for the Internet - http://ckeditor.com + CKEditor - The text editor for the Internet - http://ckeditor.com
- Copyright © 2003-2011, CKSource - Frederico + Copyright © 2003-2011, CKSource - Frederico Knabben. All rights reserved.
Index: /CKEditor/trunk/_samples/php/advanced.php =================================================================== --- /CKEditor/trunk/_samples/php/advanced.php (revision 6357) +++ /CKEditor/trunk/_samples/php/advanced.php (revision 6358) @@ -11,5 +11,5 @@ -+
CKEditor Sample — Setting Configuration Options
@@ -18,7 +18,7 @@- To set configuration options, use the
-config
property. To set the attributes of a<textarea>
element (which is displayed instead of CKEditor in unsupported browsers), use thetextareaAttributes
property. + To set configuration options, use theconfig
property. To set the attributes of a<textarea>
element (which is displayed instead of CKEditor in unsupported browsers), use thetextareaAttributes
property.+<?php // Include the CKEditor class. @@ -110,8 +110,8 @@
- CKEditor - The text editor for the Internet - http://ckeditor.com + CKEditor - The text editor for the Internet - http://ckeditor.com
- Copyright © 2003-2011, CKSource - Frederico + Copyright © 2003-2011, CKSource - Frederico Knabben. All rights reserved.
Index: /CKEditor/trunk/_samples/php/events.php =================================================================== --- /CKEditor/trunk/_samples/php/events.php (revision 6357) +++ /CKEditor/trunk/_samples/php/events.php (revision 6358) @@ -11,5 +11,5 @@ -+
CKEditor Sample — Adding Event Handlers
@@ -22,5 +22,5 @@ the full definition: -<?php +<?php // Include the CKEditor class. include("ckeditor/ckeditor.php"); @@ -143,8 +143,8 @@
- CKEditor - The text editor for the Internet - http://ckeditor.com + CKEditor - The text editor for the Internet - http://ckeditor.com
- Copyright © 2003-2011, CKSource - Frederico + Copyright © 2003-2011, CKSource - Frederico Knabben. All rights reserved.
Index: /CKEditor/trunk/_samples/php/index.html =================================================================== --- /CKEditor/trunk/_samples/php/index.html (revision 6357) +++ /CKEditor/trunk/_samples/php/index.html (revision 6358) @@ -11,25 +11,25 @@ -+
CKEditor Samples List for PHP
-+
Basic Samples
--
- Replace existing textarea elements by code
++
-- Replace existing textarea elements by code
-
Replacement of selected textarea elements with CKEditor instances by using a JavaScript call.- Replace all textarea elements by code
+- Replace all textarea elements by code
-
Replacement of all textarea elements with CKEditor instances by using a JavaScript call.- Create CKEditor instances in PHP
+- Create CKEditor instances in PHP
Creating a CKEditor instance (no initial textarea element is required).+
Advanced Samples
--
- Setting configuration options
++
- Setting configuration options
-
Creating a CKEditor instance with custom configuration options.- Listening to events
+- Listening to events
@@ -38,8 +38,8 @@
Creating event handlers.
- CKEditor - The text editor for the Internet - http://ckeditor.com + CKEditor - The text editor for the Internet - http://ckeditor.com
- Copyright © 2003-2011, CKSource - Frederico Knabben. All rights reserved. + Copyright © 2003-2011, CKSource - Frederico Knabben. All rights reserved.
Index: /CKEditor/trunk/_samples/php/replace.php =================================================================== --- /CKEditor/trunk/_samples/php/replace.php (revision 6357) +++ /CKEditor/trunk/_samples/php/replace.php (revision 6358) @@ -11,5 +11,5 @@ -+
CKEditor Sample — Replace Selected Textarea Elements Using PHP Code
@@ -23,5 +23,5 @@ after the<textarea>
element: -+<?php // Include the CKEditor class. @@ -65,8 +65,8 @@
- CKEditor - The text editor for the Internet - http://ckeditor.com + CKEditor - The text editor for the Internet - http://ckeditor.com
- Copyright © 2003-2011, CKSource - Frederico + Copyright © 2003-2011, CKSource - Frederico Knabben. All rights reserved.
Index: /CKEditor/trunk/_samples/php/replaceall.php =================================================================== --- /CKEditor/trunk/_samples/php/replaceall.php (revision 6357) +++ /CKEditor/trunk/_samples/php/replaceall.php (revision 6358) @@ -11,5 +11,5 @@ -+
CKEditor Sample — Replace All Textarea Elements Using PHP Code
@@ -23,5 +23,5 @@ after the last<textarea>
element: -+<?php // Include the CKEditor class. @@ -66,8 +66,8 @@
- CKEditor - The text editor for the Internet - http://ckeditor.com + CKEditor - The text editor for the Internet - http://ckeditor.com
- Copyright © 2003-2011, CKSource - Frederico + Copyright © 2003-2011, CKSource - Frederico Knabben. All rights reserved.
Index: /CKEditor/trunk/_samples/php/standalone.php =================================================================== --- /CKEditor/trunk/_samples/php/standalone.php (revision 6357) +++ /CKEditor/trunk/_samples/php/standalone.php (revision 6358) @@ -11,5 +11,5 @@ -+
CKEditor Sample — Creating CKEditor Instances
@@ -18,5 +18,5 @@ This sample shows how to create a CKEditor instance with PHP. -+<?php include_once "ckeditor/ckeditor.php"; @@ -73,8 +73,8 @@
- CKEditor - The text editor for the Internet - http://ckeditor.com + CKEditor - The text editor for the Internet - http://ckeditor.com
- Copyright © 2003-2011, CKSource - Frederico + Copyright © 2003-2011, CKSource - Frederico Knabben. All rights reserved.
Index: /CKEditor/trunk/_samples/placeholder.html =================================================================== --- /CKEditor/trunk/_samples/placeholder.html (revision 6357) +++ /CKEditor/trunk/_samples/placeholder.html (revision 6358) @@ -17,5 +17,5 @@ -+
CKEditor Sample — Using the Placeholder Plugin
@@ -32,5 +32,5 @@ call to your code: -CKEDITOR.replace( 'textarea_id', +CKEDITOR.replace( 'textarea_id', { extraPlugins : 'placeholder', @@ -75,8 +75,8 @@
- CKEditor - The text editor for the Internet - http://ckeditor.com + CKEditor - The text editor for the Internet - http://ckeditor.com
- Copyright © 2003-2011, CKSource - Frederico + Copyright © 2003-2011, CKSource - Frederico Knabben. All rights reserved.
Index: /CKEditor/trunk/_samples/replacebyclass.html =================================================================== --- /CKEditor/trunk/_samples/replacebyclass.html (revision 6357) +++ /CKEditor/trunk/_samples/replacebyclass.html (revision 6358) @@ -17,5 +17,5 @@ -+
CKEditor Sample — Replace Textarea Elements by Class Name
@@ -29,5 +29,5 @@ class, as in the code below: -<textarea class="ckeditor" name="editor1"></textarea>+<textarea class="ckeditor" name="editor1"></textarea>Note that other
<textarea>
attributes (likeid
orname
) need to be adjusted to your document. @@ -58,8 +58,8 @@
- CKEditor - The text editor for the Internet - http://ckeditor.com + CKEditor - The text editor for the Internet - http://ckeditor.com
- Copyright © 2003-2011, CKSource - Frederico + Copyright © 2003-2011, CKSource - Frederico Knabben. All rights reserved.
Index: /CKEditor/trunk/_samples/replacebycode.html =================================================================== --- /CKEditor/trunk/_samples/replacebycode.html (revision 6357) +++ /CKEditor/trunk/_samples/replacebycode.html (revision 6358) @@ -17,5 +17,5 @@ -+
CKEditor Sample — Replace Textarea Elements Using JavaScript Code
@@ -30,5 +30,5 @@ in the<head>
section of the page, in awindow.onload
event handler: -CKEDITOR.replace( 'textarea_id' );+CKEDITOR.replace( 'textarea_id' );Note that
textarea_id
in the code above is theid
attribute of @@ -91,8 +91,8 @@
- CKEditor - The text editor for the Internet - http://ckeditor.com + CKEditor - The text editor for the Internet - http://ckeditor.com
- Copyright © 2003-2011, CKSource - Frederico + Copyright © 2003-2011, CKSource - Frederico Knabben. All rights reserved.
Index: /CKEditor/trunk/_samples/sample.css =================================================================== --- /CKEditor/trunk/_samples/sample.css (revision 6357) +++ /CKEditor/trunk/_samples/sample.css (revision 6358) @@ -5,8 +5,5 @@ html, body, h1, h2, h3, h4, h5, h6, div, span, blockquote, p, address, form, fieldset, img, ul, ol, dl, dt, dd, li, hr, table, td, th, strong, em, sup, sub, dfn, ins, del, q, cite, var, samp, code, kbd, tt, pre { - border: 0 none; line-height: 1.5em; - margin: 0; - padding: 0; } @@ -28,38 +25,25 @@ } -b, strong { - font-weight:bold; +h1.samples { + color:#0782C1; + font-size:200%; + font-weight:normal; + margin: 0; + padding: 0; } -i, cite, em, var, dfn, blockquote { - font-style:italic; +h2.samples { + color:#000000; + font-size:130%; + margin: 0; + padding: 0; } -p, ul, ol, blockquote, address, form, table, pre, dl, h1, h2, h3, h4, h5, h6 { +p, blockquote, address, form, pre, dl, h1.samples, h2.samples { margin-bottom:15px; } -ul ul, ul ol, ol ul, ol ol { - margin-bottom:0; -} - -ul { - list-style-type:disc; -} - -ol { - list-style-type:decimal; -} - -li { - margin-left:40px; -} - -a { - text-decoration:none; -} - -a:hover { - text-decoration:underline; +ul.samples { + margin-bottom:15px; } @@ -83,17 +67,11 @@ } -a { +a.samples { color:#189DE1; + text-decoration:none; } -h1 { - color:#0782C1; - font-size:200%; - font-weight:normal; -} - -h2 { - color:#000000; - font-size:130%; +a.samples:hover { + text-decoration:underline; } @@ -104,5 +82,5 @@ } -pre +pre.samples { background-color: #F7F7F7; Index: /CKEditor/trunk/_samples/sharedspaces.html =================================================================== --- /CKEditor/trunk/_samples/sharedspaces.html (revision 6357) +++ /CKEditor/trunk/_samples/sharedspaces.html (revision 6358) @@ -29,5 +29,5 @@ -+
CKEditor Sample — Shared Toolbars
@@ -41,5 +41,5 @@ CKEditor instances with shared spaces can be inserted with a JavaScript call using the following code: -CKEDITOR.replace( 'textarea_id', +CKEDITOR.replace( 'textarea_id', { sharedSpaces : @@ -96,8 +96,8 @@
- CKEditor - The text editor for the Internet - http://ckeditor.com + CKEditor - The text editor for the Internet - http://ckeditor.com
- Copyright © 2003-2011, CKSource - Frederico + Copyright © 2003-2011, CKSource - Frederico Knabben. All rights reserved.
Index: /CKEditor/trunk/_samples/skins.html =================================================================== --- /CKEditor/trunk/_samples/skins.html (revision 6357) +++ /CKEditor/trunk/_samples/skins.html (revision 6358) @@ -17,5 +17,5 @@ -+
CKEditor Sample — Skins
@@ -23,10 +23,10 @@This sample shows how to automatically replace
<textarea>
elements - with a CKEditor instance using a specific skin. + with a CKEditor instance using a specific skin.CKEditor with a specified skin (in this case, the "Office 2003" skin) is inserted with a JavaScript call using the following code:
-CKEDITOR.replace( 'textarea_id', +CKEDITOR.replace( 'textarea_id', { skin : 'office2003' @@ -49,5 +49,5 @@