Changeset 6350 for CKEditor/trunk
- Timestamp:
- 01/20/11 09:24:27 (2 years ago)
- Location:
- CKEditor/trunk
- Files:
-
- 34 edited
-
_dev/docs_build/template/publish.js (modified) (1 diff)
-
_samples/ajax.html (modified) (1 diff)
-
_samples/api.html (modified) (2 diffs)
-
_samples/api_dialog.html (modified) (2 diffs)
-
_samples/api_dialog/my_dialog.js (modified) (1 diff)
-
_samples/autogrow.html (modified) (2 diffs)
-
_samples/divreplace.html (modified) (1 diff)
-
_samples/enterkey.html (modified) (1 diff)
-
_samples/fullpage.html (modified) (2 diffs)
-
_samples/index.html (modified) (3 diffs)
-
_samples/jqueryadapter.html (modified) (3 diffs)
-
_samples/output_for_flash.html (modified) (1 diff)
-
_samples/output_html.html (modified) (2 diffs)
-
_samples/output_xhtml.html (modified) (1 diff)
-
_samples/php/events.php (modified) (1 diff)
-
_samples/php/replace.php (modified) (2 diffs)
-
_samples/php/replaceall.php (modified) (1 diff)
-
_samples/php/standalone.php (modified) (1 diff)
-
_samples/placeholder.html (modified) (2 diffs)
-
_samples/replacebyclass.html (modified) (2 diffs)
-
_samples/replacebycode.html (modified) (3 diffs)
-
_samples/sample.css (modified) (2 diffs)
-
_samples/sample.js (modified) (1 diff)
-
_samples/sample_posteddata.php (modified) (1 diff)
-
_samples/sharedspaces.html (modified) (1 diff)
-
_samples/skins.html (modified) (2 diffs)
-
_samples/ui_color.html (modified) (2 diffs)
-
_samples/ui_languages.html (modified) (1 diff)
-
_source/core/htmlparser/element.js (modified) (1 diff)
-
_source/plugins/indent/plugin.js (modified) (1 diff)
-
_source/plugins/selection/plugin.js (modified) (1 diff)
-
ckeditor_basic_source.js (modified) (1 diff)
-
ckeditor_source.js (modified) (1 diff)
-
config.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
CKEditor/trunk/_dev/docs_build/template/publish.js
r5979 r6350 1 /** Called automatically by JsDoc Toolkit. */1 /** Called automatically by JsDoc Toolkit. */ 2 2 function publish(symbolSet) { 3 3 publish.conf = { // trailing slash expected for dirs -
CKEditor/trunk/_samples/ajax.html
r6348 r6350 64 64 </p> 65 65 </div> 66 66 67 67 <!-- This <div> holds alert messages to be display in the sample page. --> 68 68 <div id="alerts"> -
CKEditor/trunk/_samples/api.html
r6348 r6350 104 104 // Get the editor instance that we want to interact with. 105 105 var oEditor = CKEDITOR.instances.editor1; 106 // Checks whether the current editor contents present changes when compared 106 // Checks whether the current editor contents present changes when compared 107 107 // to the contents loaded into the editor at startup 108 108 // http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.editor.html#checkDirty … … 130 130 <div class="description"> 131 131 <p> 132 This sample shows how to use the 132 This sample shows how to use the 133 133 <a href="http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.editor.html">CKEditor JavaScript API</a> 134 134 to interact with the editor at runtime. -
CKEditor/trunk/_samples/api_dialog.html
r6348 r6350 112 112 <div class="description"> 113 113 <p> 114 This sample shows how to use the 114 This sample shows how to use the 115 115 <a href="http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.dialog.html">CKEditor Dialog API</a> 116 116 to customize CKEditor dialog windows without changing the original editor code. … … 131 131 </p> 132 132 </div> 133 134 133 134 135 135 <!-- This <div> holds alert messages to be display in the sample page. --> 136 136 <div id="alerts"> -
CKEditor/trunk/_samples/api_dialog/my_dialog.js
r6348 r6350 1 ï»?*1 /* 2 2 Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 3 For licensing, see LICENSE.html or http://ckeditor.com/license -
CKEditor/trunk/_samples/autogrow.html
r6348 r6350 22 22 <div class="description"> 23 23 <p> 24 This sample shows how to configure CKEditor instances to use the 24 This sample shows how to configure CKEditor instances to use the 25 25 <strong>autogrow</strong> plugin that lets the editor window expand and shrink 26 26 depending on the amount and size of content entered in the editing area. … … 32 32 <p> 33 33 It is also possible to set a maximum height for the editor window. Once CKEditor 34 editing area reaches the value in pixels specified in the <code>autoGrow_maxHeight</code> 34 editing area reaches the value in pixels specified in the <code>autoGrow_maxHeight</code> 35 35 attribute, scrollbars will be added and the editor window will no longer expand. 36 </p> 36 </p> 37 37 <p> 38 38 To add a CKEditor instance using the <strong>autogrow</strong> plugin and its 39 <code>autoGrow_maxHeight</code> attribute, insert the following JavaScript call to your code: 39 <code>autoGrow_maxHeight</code> attribute, insert the following JavaScript call to your code: 40 40 </p> 41 41 <pre>CKEDITOR.replace( '<em>textarea_id</em>', -
CKEditor/trunk/_samples/divreplace.html
r6348 r6350 76 76 <body> 77 77 <h1> 78 CKEditor Sample — Replace DIV with CKEditor on the Fly 78 CKEditor Sample — Replace DIV with CKEditor on the Fly 79 79 </h1> 80 80 <div class="description"> -
CKEditor/trunk/_samples/enterkey.html
r6348 r6350 45 45 <div class="description"> 46 46 <p> 47 This sample shows how to configure the <em>Enter</em> and <em>Shift+Enter</em> keys 48 to perform actions specified in the 49 <a href="http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.enterMode"><code>enterMode</code></a> 47 This sample shows how to configure the <em>Enter</em> and <em>Shift+Enter</em> keys 48 to perform actions specified in the 49 <a href="http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.enterMode"><code>enterMode</code></a> 50 50 and <a href="http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.shiftEnterMode"><code>shiftEnterMode</code></a> 51 51 parameters, respectively. -
CKEditor/trunk/_samples/fullpage.html
r6348 r6350 25 25 <code><html></code> tag to the <code></html></code> tag. 26 26 </p> 27 <p> 28 CKEditor is inserted with a JavaScript call using the following code: 27 <p> 28 CKEditor is inserted with a JavaScript call using the following code: 29 29 </p> 30 30 <pre>CKEDITOR.replace( '<em>textarea_id</em>', … … 37 37 </p> 38 38 </div> 39 39 40 40 <!-- This <div> holds alert messages to be display in the sample page. --> 41 41 <div id="alerts"> -
CKEditor/trunk/_samples/index.html
r6348 r6350 51 51 <ul> 52 52 <li><a href="divreplace.html">Replace DIV elements on the fly</a><br /> 53 Transforming a <code>div</code> element into an instance of CKEditor with a mouse click. 53 Transforming a <code>div</code> element into an instance of CKEditor with a mouse click. 54 54 </li> 55 55 <li><a href="ajax.html">Create and destroy editor instances for Ajax applications</a><br /> 56 Creating and destroying CKEditor instances on the fly and saving the contents entered into the editor window. 56 Creating and destroying CKEditor instances on the fly and saving the contents entered into the editor window. 57 57 </li> 58 58 <li><a href="api.html">Basic usage of the API</a><br /> … … 63 63 </li> 64 64 <li><a href="enterkey.html">Using the "Enter" key in CKEditor</a><br /> 65 Configuring the behavior of <em>Enter</em> and <em>Shift+Enter</em> keys. 65 Configuring the behavior of <em>Enter</em> and <em>Shift+Enter</em> keys. 66 66 </li> 67 67 <li><a href="sharedspaces.html">Shared toolbars</a><br /> … … 78 78 </li> 79 79 <li><a href="output_for_flash.html">Output for Flash</a><br /> 80 Configuring CKEditor to produce HTML code that can be used with Adobe Flash. 80 Configuring CKEditor to produce HTML code that can be used with Adobe Flash. 81 81 </li> 82 82 <li><a href="placeholder.html">Placeholder plugin</a><br /> -
CKEditor/trunk/_samples/jqueryadapter.html
r6348 r6350 45 45 <div class="description"> 46 46 <p> 47 This sample shows how to load CKEditor and configure it using the 47 This sample shows how to load CKEditor and configure it using the 48 48 <a href="http://docs.cksource.com/CKEditor_3.x/Developers_Guide/jQuery_Adapter">jQuery adapter</a>. 49 49 In this case the jQuery adapter is responsible for transforming a <code><textarea></code> … … 51 51 </p> 52 52 <p> 53 CKEditor instance with custom configuration set in jQuery can be inserted with the 54 following JavaScript code: 53 CKEditor instance with custom configuration set in jQuery can be inserted with the 54 following JavaScript code: 55 55 </p> 56 56 <pre>$(function() … … 68 68 </p> 69 69 </div> 70 70 71 71 <!-- This <div> holds alert messages to be display in the sample page. --> 72 72 <div id="alerts"> -
CKEditor/trunk/_samples/output_for_flash.html
r6348 r6350 38 38 <div class="description"> 39 39 <p> 40 This sample shows how to configure CKEditor to output 40 This sample shows how to configure CKEditor to output 41 41 HTML code that can be used with 42 42 <a href="http://www.adobe.com/livedocs/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00000922.html"> -
CKEditor/trunk/_samples/output_html.html
r6348 r6350 33 33 </p> 34 34 <p> 35 A snippet of the configuration code can be seen below; check the source of this page for 35 A snippet of the configuration code can be seen below; check the source of this page for 36 36 full definition: 37 37 </p> … … 46 46 attributes : { 'size' : '#(size)' } 47 47 } 48 48 49 49 // More definitions follow. 50 50 });</pre> -
CKEditor/trunk/_samples/output_xhtml.html
r6348 r6350 32 32 </p> 33 33 <p> 34 A snippet of the configuration code can be seen below; check the source of this page for 34 A snippet of the configuration code can be seen below; check the source of this page for 35 35 full definition: 36 36 </p> -
CKEditor/trunk/_samples/php/events.php
r6348 r6350 19 19 </p> 20 20 <p> 21 A snippet of the configuration code can be seen below; check the source code of this page for 21 A snippet of the configuration code can be seen below; check the source code of this page for 22 22 the full definition: 23 23 </p> -
CKEditor/trunk/_samples/php/replace.php
r6348 r6350 12 12 <body> 13 13 <h1> 14 CKEditor Sample — Replace Selected Textarea Elements Using PHP Code 14 CKEditor Sample — Replace Selected Textarea Elements Using PHP Code 15 15 </h1> 16 16 <div class="description"> … … 21 21 <p> 22 22 To replace a <code><textarea></code> element, place the following call at any point 23 after the <code><textarea></code> element: 23 after the <code><textarea></code> element: 24 24 </p> 25 25 <pre> -
CKEditor/trunk/_samples/php/replaceall.php
r6348 r6350 21 21 <p> 22 22 To replace all <code><textarea></code> elements, place the following call at any point 23 after the last <code><textarea></code> element: 23 after the last <code><textarea></code> element: 24 24 </p> 25 25 <pre> -
CKEditor/trunk/_samples/php/standalone.php
r6348 r6350 19 19 </p> 20 20 <pre> 21 <?php 21 <?php 22 22 include_once "ckeditor/ckeditor.php"; 23 23 -
CKEditor/trunk/_samples/placeholder.html
r6348 r6350 22 22 <div class="description"> 23 23 <p> 24 This sample shows how to configure CKEditor instances to use the 24 This sample shows how to configure CKEditor instances to use the 25 25 <strong>placeholder</strong> plugin that lets you insert read-only elements 26 26 into your content. To enter and modify read-only text, use the … … 30 30 To add a CKEditor instance that uses the <strong>placeholder</strong> plugin and a related 31 31 <strong>Create Placeholder</strong> toolbar button, insert the following JavaScript 32 call to your code: 32 call to your code: 33 33 </p> 34 34 <pre>CKEDITOR.replace( '<em>textarea_id</em>', -
CKEditor/trunk/_samples/replacebyclass.html
r6348 r6350 27 27 <p> 28 28 To replace a <code><textarea></code> element, simply assign it the <code>ckeditor</code> 29 class, as in the code below: 29 class, as in the code below: 30 30 </p> 31 31 <pre><textarea <strong>class="ckeditor</strong>" name="editor1"></textarea></pre> … … 34 34 </p> 35 35 </div> 36 36 37 37 <!-- This <div> holds alert messages to be display in the sample page. --> 38 38 <div id="alerts"> -
CKEditor/trunk/_samples/replacebycode.html
r6348 r6350 18 18 <body> 19 19 <h1> 20 CKEditor Sample — Replace Textarea Elements Using JavaScript Code 20 CKEditor Sample — Replace Textarea Elements Using JavaScript Code 21 21 </h1> 22 22 <div class="description"> … … 28 28 To replace a <code><textarea></code> element, place the following call at any point 29 29 after the <code><textarea></code> element or inside a <code><script></code> element located 30 in the <code><head></code> section of the page, in a <code>window.onload</code> event handler: 30 in the <code><head></code> section of the page, in a <code>window.onload</code> event handler: 31 31 </p> 32 32 <pre>CKEDITOR.replace( '<em>textarea_id</em>' );</pre> … … 36 36 </p> 37 37 </div> 38 38 39 39 <!-- This <div> holds alert messages to be display in the sample page. --> 40 40 <div id="alerts"> -
CKEditor/trunk/_samples/sample.css
r6348 r6350 12 12 13 13 body { 14 padding:10px 30px; 14 padding:10px 30px; 15 15 } 16 16 … … 179 179 } 180 180 181 .cke_dialog label 182 { 183 display: inline; 184 margin-bottom: auto; 185 } -
CKEditor/trunk/_samples/sample.js
r6348 r6350 1 ï»?*1 /* 2 2 Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 3 For licensing, see LICENSE.html or http://ckeditor.com/license -
CKEditor/trunk/_samples/sample_posteddata.php
r6348 r6350 7 7 We are sorry, but your Web server does not support the PHP language used in this script. 8 8 9 Please note that CKEditor can be used with any other server-side language than just PHP. 10 To save the content created with CKEditor you need to read the POST data on the server 9 Please note that CKEditor can be used with any other server-side language than just PHP. 10 To save the content created with CKEditor you need to read the POST data on the server 11 11 side and write it to a file or a database. 12 12 -
CKEditor/trunk/_samples/sharedspaces.html
r6348 r6350 39 39 </p> 40 40 <p> 41 CKEditor instances with shared spaces can be inserted with a JavaScript call using the following code: 41 CKEditor instances with shared spaces can be inserted with a JavaScript call using the following code: 42 42 </p> 43 43 <pre>CKEDITOR.replace( '<em>textarea_id</em>', -
CKEditor/trunk/_samples/skins.html
r6348 r6350 26 26 </p> 27 27 <p> 28 CKEditor with a specified skin (in this case, the "Office 2003" skin) is inserted with a JavaScript call using the following code: 28 CKEditor with a specified skin (in this case, the "Office 2003" skin) is inserted with a JavaScript call using the following code: 29 29 </p> 30 30 <pre>CKEDITOR.replace( '<em>textarea_id</em>', … … 37 37 </p> 38 38 </div> 39 39 40 40 <!-- This <div> holds alert messages to be display in the sample page. --> 41 41 <div id="alerts"> -
CKEditor/trunk/_samples/ui_color.html
r6348 r6350 27 27 <h2>Setting the User Interface Color</h2> 28 28 <p> 29 To specify the color of the user interface, set the <code>uiColor</code> property: 29 To specify the color of the user interface, set the <code>uiColor</code> property: 30 30 </p> 31 31 <pre>CKEDITOR.replace( '<em>textarea_id</em>', … … 41 41 If the <strong>uicolor</strong> plugin along with the dedicated <strong>UIColor</strong> 42 42 toolbar button is added to CKEditor, the user will also be able to pick the color of the 43 UI from the color palette available in the <strong>UI Color Picker</strong> dialog window. 43 UI from the color palette available in the <strong>UI Color Picker</strong> dialog window. 44 44 </p> 45 45 <p> 46 46 To insert a CKEditor instance with the <strong>uicolor</strong> plugin enabled, 47 use the following JavaScript call: 47 use the following JavaScript call: 48 48 </p> 49 49 <pre>CKEDITOR.replace( '<em>textarea_id</em>', -
CKEditor/trunk/_samples/ui_languages.html
r6348 r6350 40 40 </p> 41 41 <p> 42 To specify the user interface language that will be used no matter what language is 43 specified in user's browser or operating system, set the <code>language</code> property: 42 To specify the user interface language that will be used no matter what language is 43 specified in user's browser or operating system, set the <code>language</code> property: 44 44 </p> 45 45 <pre>CKEDITOR.replace( '<em>textarea_id</em>', -
CKEditor/trunk/_source/core/htmlparser/element.js
r6348 r6350 1 /*1 /* 2 2 Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 3 For licensing, see LICENSE.html or http://ckeditor.com/license -
CKEditor/trunk/_source/plugins/indent/plugin.js
r6348 r6350 1 /*1 /* 2 2 Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 3 For licensing, see LICENSE.html or http://ckeditor.com/license -
CKEditor/trunk/_source/plugins/selection/plugin.js
r6348 r6350 1 /*1 /* 2 2 Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 3 For licensing, see LICENSE.html or http://ckeditor.com/license -
CKEditor/trunk/ckeditor_basic_source.js
r6348 r6350 1 ï»?*1 /* 2 2 Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 3 For licensing, see LICENSE.html or http://ckeditor.com/license -
CKEditor/trunk/ckeditor_source.js
r6348 r6350 1 ï»?*1 /* 2 2 Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 3 3 For licensing, see LICENSE.html or http://ckeditor.com/license -
CKEditor/trunk/config.js
r6348 r6350 7 7 { 8 8 // Define changes to default configuration here. For example: 9 // config.language = 'he';9 // config.language = 'fr'; 10 10 // config.uiColor = '#AADC6E'; 11 // config.extraPlugins ='bbcode';12 config.enterMode = 2;13 // config.entities = false;14 config.fontSize_sizes = "30/30%;50/50%;100/100%;120/120%;150/150%;200/200%;300/300%";15 11 };
Note: See TracChangeset
for help on using the changeset viewer.
