Changeset 6350 for CKEditor/trunk


Ignore:
Timestamp:
01/20/2011 09:24:27 AM (4 years ago)
Author:
garry.yao
Message:

Fixlineends run.

Location:
CKEditor/trunk
Files:
34 edited

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. */ 
    22function publish(symbolSet) { 
    33        publish.conf = {  // trailing slash expected for dirs 
  • CKEditor/trunk/_samples/ajax.html

    r6348 r6350  
    6464        </p> 
    6565        </div> 
    66          
     66 
    6767        <!-- This <div> holds alert messages to be display in the sample page. --> 
    6868        <div id="alerts"> 
  • CKEditor/trunk/_samples/api.html

    r6348 r6350  
    104104        // Get the editor instance that we want to interact with. 
    105105        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 
    107107        // to the contents loaded into the editor at startup 
    108108        // http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.editor.html#checkDirty 
     
    130130        <div class="description"> 
    131131        <p> 
    132                 This sample shows how to use the  
     132                This sample shows how to use the 
    133133                <a href="http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.editor.html">CKEditor JavaScript API</a> 
    134134                to interact with the editor at runtime. 
  • CKEditor/trunk/_samples/api_dialog.html

    r6348 r6350  
    112112        <div class="description"> 
    113113        <p> 
    114                 This sample shows how to use the  
     114                This sample shows how to use the 
    115115                <a href="http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.dialog.html">CKEditor Dialog API</a> 
    116116                to customize CKEditor dialog windows without changing the original editor code. 
     
    131131        </p> 
    132132        </div> 
    133          
    134          
     133 
     134 
    135135        <!-- This <div> holds alert messages to be display in the sample page. --> 
    136136        <div id="alerts"> 
  • CKEditor/trunk/_samples/api_dialog/my_dialog.js

    r6348 r6350  
    1 ï»?* 
     1/* 
    22Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 
    33For licensing, see LICENSE.html or http://ckeditor.com/license 
  • CKEditor/trunk/_samples/autogrow.html

    r6348 r6350  
    2222        <div class="description"> 
    2323        <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 
    2525                <strong>autogrow</strong> plugin that lets the editor window expand and shrink 
    2626                depending on the amount and size of content entered in the editing area. 
     
    3232        <p> 
    3333                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> 
    3535                attribute, scrollbars will be added and the editor window will no longer expand. 
    36         </p>     
     36        </p> 
    3737        <p> 
    3838                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: 
    4040        </p> 
    4141        <pre>CKEDITOR.replace( '<em>textarea_id</em>', 
  • CKEditor/trunk/_samples/divreplace.html

    r6348 r6350  
    7676<body> 
    7777        <h1> 
    78                 CKEditor Sample &mdash; Replace DIV with CKEditor on the Fly  
     78                CKEditor Sample &mdash; Replace DIV with CKEditor on the Fly 
    7979        </h1> 
    8080        <div class="description"> 
  • CKEditor/trunk/_samples/enterkey.html

    r6348 r6350  
    4545        <div class="description"> 
    4646        <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> 
    5050                and <a href="http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.shiftEnterMode"><code>shiftEnterMode</code></a> 
    5151                parameters, respectively. 
  • CKEditor/trunk/_samples/fullpage.html

    r6348 r6350  
    2525                <code>&lt;html&gt;</code> tag to the <code>&lt;/html&gt;</code> tag. 
    2626        </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: 
    2929        </p> 
    3030        <pre>CKEDITOR.replace( '<em>textarea_id</em>', 
     
    3737        </p> 
    3838        </div> 
    39          
     39 
    4040        <!-- This <div> holds alert messages to be display in the sample page. --> 
    4141        <div id="alerts"> 
  • CKEditor/trunk/_samples/index.html

    r6348 r6350  
    5151        <ul> 
    5252                <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. 
    5454                </li> 
    5555                <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. 
    5757                </li> 
    5858                <li><a href="api.html">Basic usage of the API</a><br /> 
     
    6363                </li> 
    6464                <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. 
    6666                </li> 
    6767                <li><a href="sharedspaces.html">Shared toolbars</a><br /> 
     
    7878                </li> 
    7979                <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. 
    8181                </li> 
    8282                <li><a href="placeholder.html">Placeholder plugin</a><br /> 
  • CKEditor/trunk/_samples/jqueryadapter.html

    r6348 r6350  
    4545        <div class="description"> 
    4646        <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 
    4848                <a href="http://docs.cksource.com/CKEditor_3.x/Developers_Guide/jQuery_Adapter">jQuery adapter</a>. 
    4949                In this case the jQuery adapter is responsible for transforming a <code>&lt;textarea&gt;</code> 
     
    5151        </p> 
    5252        <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: 
    5555        </p> 
    5656        <pre>$(function() 
     
    6868        </p> 
    6969        </div> 
    70                  
     70 
    7171        <!-- This <div> holds alert messages to be display in the sample page. --> 
    7272        <div id="alerts"> 
  • CKEditor/trunk/_samples/output_for_flash.html

    r6348 r6350  
    3838        <div class="description"> 
    3939        <p> 
    40                 This sample shows how to configure CKEditor to output  
     40                This sample shows how to configure CKEditor to output 
    4141                HTML code that can be used with 
    4242                <a href="http://www.adobe.com/livedocs/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&amp;file=00000922.html"> 
  • CKEditor/trunk/_samples/output_html.html

    r6348 r6350  
    3333        </p> 
    3434        <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 
    3636                full definition: 
    3737        </p> 
     
    4646                                attributes      : { 'size' : '#(size)' } 
    4747                        } 
    48                          
     48 
    4949                // More definitions follow. 
    5050        });</pre> 
  • CKEditor/trunk/_samples/output_xhtml.html

    r6348 r6350  
    3232        </p> 
    3333        <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 
    3535                full definition: 
    3636        </p> 
  • CKEditor/trunk/_samples/php/events.php

    r6348 r6350  
    1919        </p> 
    2020        <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 
    2222                the full definition: 
    2323        </p> 
  • CKEditor/trunk/_samples/php/replace.php

    r6348 r6350  
    1212<body> 
    1313        <h1> 
    14                 CKEditor Sample &mdash;  Replace Selected Textarea Elements Using PHP Code  
     14                CKEditor Sample &mdash;  Replace Selected Textarea Elements Using PHP Code 
    1515        </h1> 
    1616        <div class="description"> 
     
    2121        <p> 
    2222                To replace a <code>&lt;textarea&gt;</code> element, place the following call at any point 
    23                 after the <code>&lt;textarea&gt;</code> element:  
     23                after the <code>&lt;textarea&gt;</code> element: 
    2424        </p> 
    2525        <pre> 
  • CKEditor/trunk/_samples/php/replaceall.php

    r6348 r6350  
    2121        <p> 
    2222                To replace all <code>&lt;textarea&gt;</code> elements, place the following call at any point 
    23                 after the last <code>&lt;textarea&gt;</code> element:  
     23                after the last <code>&lt;textarea&gt;</code> element: 
    2424        </p> 
    2525        <pre> 
  • CKEditor/trunk/_samples/php/standalone.php

    r6348 r6350  
    1919        </p> 
    2020        <pre> 
    21 &lt;?php  
     21&lt;?php 
    2222include_once "ckeditor/ckeditor.php"; 
    2323 
  • CKEditor/trunk/_samples/placeholder.html

    r6348 r6350  
    2222        <div class="description"> 
    2323        <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 
    2525                <strong>placeholder</strong> plugin that lets you insert read-only elements 
    2626                into your content. To enter and modify read-only text, use the 
     
    3030                To add a CKEditor instance that uses the <strong>placeholder</strong> plugin and a related 
    3131                <strong>Create Placeholder</strong> toolbar button, insert the following JavaScript 
    32                 call to your code:  
     32                call to your code: 
    3333        </p> 
    3434        <pre>CKEDITOR.replace( '<em>textarea_id</em>', 
  • CKEditor/trunk/_samples/replacebyclass.html

    r6348 r6350  
    2727        <p> 
    2828                To replace a <code>&lt;textarea&gt;</code> element, simply assign it the <code>ckeditor</code> 
    29                 class, as in the code below:  
     29                class, as in the code below: 
    3030        </p> 
    3131        <pre>&lt;textarea <strong>class="ckeditor</strong>" name="editor1"&gt;&lt;/textarea&gt;</pre> 
     
    3434        </p> 
    3535        </div> 
    36          
     36 
    3737        <!-- This <div> holds alert messages to be display in the sample page. --> 
    3838        <div id="alerts"> 
  • CKEditor/trunk/_samples/replacebycode.html

    r6348 r6350  
    1818<body> 
    1919        <h1> 
    20                 CKEditor Sample &mdash; Replace Textarea Elements Using JavaScript Code  
     20                CKEditor Sample &mdash; Replace Textarea Elements Using JavaScript Code 
    2121        </h1> 
    2222        <div class="description"> 
     
    2828                To replace a <code>&lt;textarea&gt;</code> element, place the following call at any point 
    2929                after the <code>&lt;textarea&gt;</code> element or inside a <code>&lt;script&gt;</code> element located 
    30                 in the <code>&lt;head&gt;</code> section of the page, in a <code>window.onload</code> event handler:  
     30                in the <code>&lt;head&gt;</code> section of the page, in a <code>window.onload</code> event handler: 
    3131        </p> 
    3232        <pre>CKEDITOR.replace( '<em>textarea_id</em>' );</pre> 
     
    3636        </p> 
    3737        </div> 
    38          
     38 
    3939        <!-- This <div> holds alert messages to be display in the sample page. --> 
    4040        <div id="alerts"> 
  • CKEditor/trunk/_samples/sample.css

    r6348 r6350  
    1212 
    1313body { 
    14         padding:10px 30px;       
     14        padding:10px 30px; 
    1515} 
    1616 
     
    179179} 
    180180 
     181.cke_dialog label 
     182{ 
     183        display: inline; 
     184        margin-bottom: auto; 
     185} 
  • CKEditor/trunk/_samples/sample.js

    r6348 r6350  
    1 ï»?* 
     1/* 
    22Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 
    33For licensing, see LICENSE.html or http://ckeditor.com/license 
  • CKEditor/trunk/_samples/sample_posteddata.php

    r6348 r6350  
    77  We are sorry, but your Web server does not support the PHP language used in this script. 
    88 
    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 
    1111  side and write it to a file or a database. 
    1212 
  • CKEditor/trunk/_samples/sharedspaces.html

    r6348 r6350  
    3939        </p> 
    4040        <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: 
    4242        </p> 
    4343        <pre>CKEDITOR.replace( '<em>textarea_id</em>', 
  • CKEditor/trunk/_samples/skins.html

    r6348 r6350  
    2626        </p> 
    2727        <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: 
    2929        </p> 
    3030        <pre>CKEDITOR.replace( '<em>textarea_id</em>', 
     
    3737        </p> 
    3838        </div> 
    39          
     39 
    4040        <!-- This <div> holds alert messages to be display in the sample page. --> 
    4141        <div id="alerts"> 
  • CKEditor/trunk/_samples/ui_color.html

    r6348 r6350  
    2727        <h2>Setting the User Interface Color</h2> 
    2828        <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: 
    3030        </p> 
    3131        <pre>CKEDITOR.replace( '<em>textarea_id</em>', 
     
    4141                If the <strong>uicolor</strong> plugin along with the dedicated <strong>UIColor</strong> 
    4242                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. 
    4444        </p> 
    4545        <p> 
    4646                To insert a CKEditor instance with the <strong>uicolor</strong> plugin enabled, 
    47                 use the following JavaScript call:  
     47                use the following JavaScript call: 
    4848        </p> 
    4949        <pre>CKEDITOR.replace( '<em>textarea_id</em>', 
  • CKEditor/trunk/_samples/ui_languages.html

    r6348 r6350  
    4040        </p> 
    4141        <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: 
    4444        </p> 
    4545        <pre>CKEDITOR.replace( '<em>textarea_id</em>', 
  • CKEditor/trunk/_source/core/htmlparser/element.js

    r6348 r6350  
    1 /* 
     1/* 
    22Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 
    33For licensing, see LICENSE.html or http://ckeditor.com/license 
  • CKEditor/trunk/_source/plugins/indent/plugin.js

    r6348 r6350  
    1 /* 
     1/* 
    22Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 
    33For licensing, see LICENSE.html or http://ckeditor.com/license 
  • CKEditor/trunk/_source/plugins/selection/plugin.js

    r6348 r6350  
    1 /* 
     1/* 
    22Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 
    33For licensing, see LICENSE.html or http://ckeditor.com/license 
  • CKEditor/trunk/ckeditor_basic_source.js

    r6348 r6350  
    1 ï»?* 
     1/* 
    22Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 
    33For licensing, see LICENSE.html or http://ckeditor.com/license 
  • CKEditor/trunk/ckeditor_source.js

    r6348 r6350  
    1 ï»?* 
     1/* 
    22Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. 
    33For licensing, see LICENSE.html or http://ckeditor.com/license 
  • CKEditor/trunk/config.js

    r6348 r6350  
    77{ 
    88        // Define changes to default configuration here. For example: 
    9 //      config.language = 'he'; 
     9        // config.language = 'fr'; 
    1010        // 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%"; 
    1511}; 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy