Changeset 7196


Ignore:
Timestamp:
08/12/2011 01:39:26 PM (3 years ago)
Author:
Anna
Message:

Reverted [7195].

Location:
CKEditor/trunk
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • CKEditor/trunk/CHANGES.html

    r7195 r7196  
    5353                <li><a href="http://dev.ckeditor.com/ticket/8025">#8025</a> : The checkboxes in the Find and Replace dialog window are now part of a fieldset.</li> 
    5454                <li><a href="http://dev.ckeditor.com/ticket/7943">#7943</a> : CSS conflict no longer appears when the page styles set the <code>float</code> property of <code>label</code> elements.</li> 
    55                 <li><a href="http://dev.ckeditor.com/ticket/8016">#8016</a> : [WebKit] Flash content is not visible when previewing content.</li> 
     55                <li><a href="http://dev.ckeditor.com/ticket/8016">#8016</a> : [Webkit] Flash content isn't visible when previewing content.</li> 
    5656                <li>Updated the following language files:<ul> 
    5757                        <li><a href="http://dev.ckeditor.com/ticket/8128">#8128</a> : Italian;</li> 
    58                         <li><a href="http://dev.ckeditor.com/ticket/8126">#8126</a>, <a href="http://dev.ckeditor.com/ticket/8256">#8256</a> : Norwegian (Bokmål and Nynorsk);</li> 
     58                        <li><a href="http://dev.ckeditor.com/ticket/8126">#8126</a> : Norwegian (Bokmål and Nynorsk);</li> 
    5959                        <li><a href="http://dev.ckeditor.com/ticket/8151">#8151</a> : Russian;</li> 
    6060                        <li><a href="http://dev.ckeditor.com/ticket/8179">#8179</a> : Hungarian;</li> 
  • CKEditor/trunk/_source/lang/_translationstatus.txt

    r7195 r7196  
    4141mn.js      Found: 320 Missing: 255 
    4242ms.js      Found: 276 Missing: 299 
    43 nb.js      Found: 575 Missing: 0 
     43nb.js      Found: 573 Missing: 2 
    4444nl.js      Found: 570 Missing: 5 
    45 no.js      Found: 575 Missing: 0 
     45no.js      Found: 573 Missing: 2 
    4646pl.js      Found: 575 Missing: 0 
    4747pt-br.js   Found: 535 Missing: 40 
  • CKEditor/trunk/_source/lang/nb.js

    r7195 r7196  
    124124                invalidCssLength        : 'Den angitte verdien for feltet "%1" må være et positivt tall med eller uten en gyldig CSS-målingsenhet (px, %, in, cm, mm, em, ex, pt, eller pc).', 
    125125                invalidHtmlLength       : 'Den angitte verdien for feltet "%1" må være et positivt tall med eller uten en gyldig HTML-målingsenhet (px eller %).', 
    126                 invalidInlineStyle      : 'Verdi angitt for inline stil må bestå av en eller flere sett med formatet "navn : verdi", separert med semikolon', 
     126                invalidInlineStyle      : 'Value specified for the inline style must consist of one or more tuples with the format of "name : value", separated by semi-colons.', // MISSING 
    127127 
    128128                // Put the voice-only part of the label in the span. 
     
    242242                replaceWith                     : 'Erstatt med:', 
    243243                notFoundMsg                     : 'Fant ikke søketeksten.', 
    244                 findOptions                     : 'Søkealternativer', 
     244                findOptions                     : 'Find Options', // MISSING 
    245245                matchCase                       : 'Skill mellom store og små bokstaver', 
    246246                matchWord                       : 'Bare hele ord', 
  • CKEditor/trunk/_source/lang/no.js

    r7195 r7196  
    124124                invalidCssLength        : 'Den angitte verdien for feltet "%1" må være et positivt tall med eller uten en gyldig CSS-målingsenhet (px, %, in, cm, mm, em, ex, pt, eller pc).', 
    125125                invalidHtmlLength       : 'Den angitte verdien for feltet "%1" må være et positivt tall med eller uten en gyldig HTML-målingsenhet (px eller %).', 
    126                 invalidInlineStyle      : 'Verdi angitt for inline stil må bestå av en eller flere sett med formatet "navn : verdi", separert med semikolon', 
     126                invalidInlineStyle      : 'Value specified for the inline style must consist of one or more tuples with the format of "name : value", separated by semi-colons.', // MISSING 
    127127 
    128128                // Put the voice-only part of the label in the span. 
     
    242242                replaceWith                     : 'Erstatt med:', 
    243243                notFoundMsg                     : 'Fant ikke søketeksten.', 
    244                 findOptions                     : 'Søkealternativer', 
     244                findOptions                     : 'Find Options', // MISSING 
    245245                matchCase                       : 'Skill mellom store og små bokstaver', 
    246246                matchWord                       : 'Bare hele ord', 
  • CKEditor/trunk/_source/plugins/dialog/dialogDefinition.js

    r7195 r7196  
    1313 * <div class="notapi"> 
    1414 * This class is not really part of the API. It just illustrates the properties 
    15  * that developers can use to define and create dialog windows. 
     15 * that developers can use to define and create dialogs. 
    1616 * </div> 
    1717 * @name CKEDITOR.dialog.definition 
     
    1919 * @example 
    2020 * // There is no constructor for this class, the user just has to define an 
    21  * // object with appropriate properties. 
     21 * // object with the appropriate properties. 
    2222 * 
    2323 * CKEDITOR.dialog.add( 'testOnly', function( editor ) 
    2424 *       { 
    2525 *           return { 
    26  *               title : 'Test Dialog Window', 
     26 *               title : 'Test Dialog', 
    2727 *               resizable : CKEDITOR.DIALOG_RESIZE_BOTH, 
    2828 *               minWidth : 500, 
     
    4949 
    5050/** 
    51  * The dialog window title displayed in the its header. Required. 
     51 * The dialog title, displayed in the dialog's header. Required. 
    5252 * @name CKEDITOR.dialog.definition.prototype.title 
    5353 * @field 
     
    5757 
    5858/** 
    59  * Value that defines how the dialog window can be resized. It must be one of 
    60  * the four constants defined below. 
    61  * <ul> 
    62  * <li><code>{@link CKEDITOR.DIALOG_RESIZE_NONE}</code></li> 
    63  * <li><code>{@link CKEDITOR.DIALOG_RESIZE_WIDTH}</code></li> 
    64  * <li><code>{@link CKEDITOR.DIALOG_RESIZE_HEIGHT}</code></li> 
    65  * <li><code>{@link CKEDITOR.DIALOG_RESIZE_BOTH}</code></li> 
    66  * </ul> 
     59 * How the dialog can be resized, must be one of the four contents defined below. 
     60 * <br /><br /> 
     61 * <strong>CKEDITOR.DIALOG_RESIZE_NONE</strong><br /> 
     62 * <strong>CKEDITOR.DIALOG_RESIZE_WIDTH</strong><br /> 
     63 * <strong>CKEDITOR.DIALOG_RESIZE_HEIGHT</strong><br /> 
     64 * <strong>CKEDITOR.DIALOG_RESIZE_BOTH</strong><br /> 
    6765 * @name CKEDITOR.dialog.definition.prototype.resizable 
    6866 * @field 
    6967 * @type Number 
    70  * @default <code>CKEDITOR.DIALOG_RESIZE_NONE</code> 
    71  * @example 
    72  */ 
    73  
    74 /** 
    75  * The minimum width of the dialog window, in pixels. 
     68 * @default CKEDITOR.DIALOG_RESIZE_NONE 
     69 * @example 
     70 */ 
     71 
     72/** 
     73 * The minimum width of the dialog, in pixels. 
    7674 * @name CKEDITOR.dialog.definition.prototype.minWidth 
    7775 * @field 
    7876 * @type Number 
    79  * @default <code>600</code> 
    80  * @example 
    81  */ 
    82  
    83 /** 
    84  * The minimum height of the dialog window, in pixels. 
     77 * @default 600 
     78 * @example 
     79 */ 
     80 
     81/** 
     82 * The minimum height of the dialog, in pixels. 
    8583 * @name CKEDITOR.dialog.definition.prototype.minHeight 
    8684 * @field 
    8785 * @type Number 
    88  * @default <code>400</code> 
    89  * @example 
    90  */ 
    91  
    92  
    93 /** 
    94  * The initial width of the dialog window, in pixels. 
     86 * @default 400 
     87 * @example 
     88 */ 
     89 
     90 
     91/** 
     92 * The initial width of the dialog, in pixels. 
    9593 * @name CKEDITOR.dialog.definition.prototype.width 
    9694 * @field 
    9795 * @type Number 
    98  * @default <code>{@link CKEDITOR.dialog.definition.prototype.minWidth}</code> 
     96 * @default @CKEDITOR.dialog.definition.prototype.minWidth 
    9997 * @since 3.5.3 
    10098 * @example 
     
    102100 
    103101/** 
    104  * The initial height of the dialog window, in pixels. 
     102 * The initial height of the dialog, in pixels. 
    105103 * @name CKEDITOR.dialog.definition.prototype.height 
    106104 * @field 
    107105 * @type Number 
    108  * @default <code>{@link CKEDITOR.dialog.definition.prototype.minHeight}</code> 
     106 * @default @CKEDITOR.dialog.definition.prototype.minHeight 
    109107 * @since 3.5.3 
    110108 * @example 
     
    112110 
    113111/** 
    114  * The buttons in the dialog window, defined as an array of 
     112 * The buttons in the dialog, defined as an array of 
    115113 * {@link CKEDITOR.dialog.definition.button} objects. 
    116114 * @name CKEDITOR.dialog.definition.prototype.buttons 
    117115 * @field 
    118116 * @type Array 
    119  * @default <code>[ CKEDITOR.dialog.okButton, CKEDITOR.dialog.cancelButton ]</code> 
     117 * @default [ CKEDITOR.dialog.okButton, CKEDITOR.dialog.cancelButton ] 
    120118 * @example 
    121119 */ 
     
    123121/** 
    124122 * The contents in the dialog, defined as an array of 
    125  * <code>{@link CKEDITOR.dialog.definition.content}</code> objects. Required. 
     123 * {@link CKEDITOR.dialog.definition.content} objects. Required. 
    126124 * @name CKEDITOR.dialog.definition.prototype.contents 
    127125 * @field 
     
    202200 * @type String 
    203201 * @example 
    204  * contentDefinition.accessKey = 'Q';   // Switch to this page when Ctrl+Q is pressed. 
     202 * contentDefinition.accessKey = 'Q';   // Switch to this page when CTRL-Q is pressed. 
    205203 */ 
    206204 
  • CKEditor/trunk/_source/plugins/dialog/plugin.js

    r7195 r7196  
    1515 
    1616/** 
    17  * Only allow horizontal resizing of this dialog window. Disable vertical resizing. 
     17 * Only allow horizontal resizing for this dialog, disable vertical resizing. 
    1818 * @constant 
    1919 */ 
     
    2121 
    2222/** 
    23  * Only allow vertical resizing for this dialog window. Disable horizontal resizing. 
     23 * Only allow vertical resizing for this dialog, disable horizontal resizing. 
    2424 * @constant 
    2525 */ 
    2626CKEDITOR.DIALOG_RESIZE_HEIGHT = 2; 
    2727 
    28 /** 
    29  * Allow the dialog window to be resized in both directions. 
     28/* 
     29 * Allow the dialog to be resized in both directions. 
    3030 * @constant 
    3131 */ 
     
    31513151        }); 
    31523152 
    3153 // Configuration settings related to dialog windows. 
     3153// Dialog related configurations. 
    31543154 
    31553155/** 
    3156  * The color of the dialog window background cover. It should be a valid CSS color 
     3156 * The color of the dialog background cover. It should be a valid CSS color 
    31573157 * string. 
    31583158 * @name CKEDITOR.config.dialog_backgroundCoverColor 
    31593159 * @type String 
    3160  * @default <code>'white'</code> 
     3160 * @default 'white' 
    31613161 * @example 
    31623162 * config.dialog_backgroundCoverColor = 'rgb(255, 254, 253)'; 
     
    31643164 
    31653165/** 
    3166  * The opacity of the dialog window background cover. It should be a number within the 
    3167  * range from 0.0 to 1.0. 
     3166 * The opacity of the dialog background cover. It should be a number within the 
     3167 * range [0.0, 1.0]. 
    31683168 * @name CKEDITOR.config.dialog_backgroundCoverOpacity 
    31693169 * @type Number 
    3170  * @default <code>0.5</code> 
     3170 * @default 0.5 
    31713171 * @example 
    31723172 * config.dialog_backgroundCoverOpacity = 0.7; 
     
    31743174 
    31753175/** 
    3176  * If the dialog window has more than one tab, put focus into the first tab as soon 
    3177  * as the dialog window is opened. 
     3176 * If the dialog has more than one tab, put focus into the first tab as soon as dialog is opened. 
    31783177 * @name CKEDITOR.config.dialog_startupFocusTab 
    31793178 * @type Boolean 
    3180  * @default <code>false</code> 
     3179 * @default false 
    31813180 * @example 
    31823181 * config.dialog_startupFocusTab = true; 
     
    31843183 
    31853184/** 
    3186  * The distance of magnetic borders used in moving and resizing dialog windows, 
    3187  * in pixels. 
     3185 * The distance of magnetic borders used in moving and resizing dialogs, 
     3186 * measured in pixels. 
    31883187 * @name CKEDITOR.config.dialog_magnetDistance 
    31893188 * @type Number 
    3190  * @default <code>20</code> 
     3189 * @default 20 
    31913190 * @example 
    31923191 * config.dialog_magnetDistance = 30; 
     
    31943193 
    31953194/** 
    3196  * The guideline to follow when generating the dialog window buttons. There are 3 possible options: 
     3195 * The guideline to follow when generating the dialog buttons. There are 3 possible options: 
    31973196 * <ul> 
    3198  *     <li><code>'OS'</code> &ndash; the buttons will be displayed in the default order of the user's OS;</li> 
    3199  *     <li><code>'ltr'</code> &ndash; for Left-To-Right order;</li> 
    3200  *     <li><code>'rtl'</code> &ndash; for Right-To-Left order.</li> 
     3197 *     <li>'OS' - the buttons will be displayed in the default order of the user's OS;</li> 
     3198 *     <li>'ltr' - for Left-To-Right order;</li> 
     3199 *     <li>'rtl' - for Right-To-Left order.</li> 
    32013200 * </ul> 
    32023201 * @name CKEDITOR.config.dialog_buttonsOrder 
    32033202 * @type String 
    3204  * @default <code>'OS'</code> 
     3203 * @default 'OS' 
    32053204 * @since 3.5 
    32063205 * @example 
     
    32093208 
    32103209/** 
    3211  * The dialog window tabs to be removed. This is a string composed from the dialog window name 
    3212  * and the tab name with a colon between them. 
    3213  * Separate each pair with a semicolon (see example).<br /><br /> 
    3214  * <strong>Note:</strong> All names are case-sensitive.<br /><br /> 
    3215  * <strong>Note:</strong> Be cautious when specifying dialog window tabs that are 
    3216  * mandatory, like <code>info</code>. Dialog window functionality might be broken because of this! 
     3210 * The dialog contents to removed. It's a string composed by dialog name and tab name with a colon between them. 
     3211 * Separate each pair with semicolon (see example). 
     3212 * <b>Note: All names are case-sensitive.</b> 
     3213 * <b>Note: Be cautious when specifying dialog tabs that are mandatory, like "info", dialog functionality might be broken because of this!</b> 
    32173214 * @name CKEDITOR.config.removeDialogTabs 
    32183215 * @type String 
    32193216 * @since 3.5 
    3220  * @default <code>''</code> 
     3217 * @default '' 
    32213218 * @example 
    32223219 * config.removeDialogTabs = 'flash:advanced;image:Link'; 
  • CKEditor/trunk/_source/plugins/editingblock/plugin.js

    r7195 r7196  
    55 
    66/** 
    7  * @fileOverview The default editing block plugin that contains the editing area 
    8  *              and the source view. 
     7 * @fileOverview The default editing block plugin, which holds the editing area 
     8 *              and source view. 
    99 */ 
    1010 
     
    124124         * The current editing mode. An editing mode is basically a viewport for 
    125125         * editing or content viewing. By default the possible values for this 
    126          * property are <code>wysiwyg</code> and <code>source</code>. 
     126         * property are "wysiwyg" and "source". 
    127127         * @type String 
    128128         * @example 
    129          * alert( CKEDITOR.instances.editor1.<strong>mode</strong> );  // E.g. "wysiwyg" 
     129         * alert( CKEDITOR.instances.editor1.mode );  // "wysiwyg" (e.g.) 
    130130         */ 
    131131        CKEDITOR.editor.prototype.mode = ''; 
    132132 
    133133        /** 
    134          * Registers an editing mode. This function is to be mainly used by plugins. 
     134         * Registers an editing mode. This function is to be used mainly by plugins. 
    135135         * @param {String} mode The mode name. 
    136136         * @param {Object} modeEditor The mode editor definition. 
     
    148148         * @example 
    149149         * // Switch to "source" view. 
    150          * CKEDITOR.instances.editor1.<strong>setMode( 'source' )</strong>; 
     150         * CKEDITOR.instances.editor1.setMode( 'source' ); 
    151151         */ 
    152152        CKEDITOR.editor.prototype.setMode = function( mode ) 
     
    195195        /** 
    196196         * Gets the current or any of the objects that represent the editing 
    197          * area modes. The two most common editing modes are <code>wysiwyg</code> 
    198          * and <code>source</code>. 
     197         * area modes. The two most common editing modes are "wysiwyg" and "source". 
    199198         * @param {String} [mode] The mode to be retrieved. If not specified, the 
    200199         *              current one is returned. 
     
    206205 
    207206        /** 
    208          * Moves the selection focus to the editing area space in the editor. 
     207         * Moves the selection focus to the editing are space in the editor. 
    209208         */ 
    210209        CKEDITOR.editor.prototype.focus = function() 
     
    219218/** 
    220219 * The mode to load at the editor startup. It depends on the plugins 
    221  * loaded. By default the <code>wysiwyg</code> and <code>source</code> 
    222  * modes are available. 
     220 * loaded. By default, the "wysiwyg" and "source" modes are available. 
    223221 * @type String 
    224  * @default <code>'wysiwyg'</code> 
     222 * @default 'wysiwyg' 
    225223 * @example 
    226224 * config.startupMode = 'source'; 
     
    229227 
    230228/** 
    231  * Whether the editor should have the focus when the page loads. 
     229 * Sets whether the editor should have the focus when the page loads. 
    232230 * @name CKEDITOR.config.startupFocus 
    233231 * @type Boolean 
    234  * @default <code>false</code> 
     232 * @default false 
    235233 * @example 
    236234 * config.startupFocus = true; 
     
    238236 
    239237/** 
    240  * Whether to render the editing block area in the editor interface. 
     238 * Whether to render or not the editing block area in the editor interface. 
    241239 * @type Boolean 
    242  * @default <code>true</code> 
     240 * @default true 
    243241 * @example 
    244242 * config.editingBlock = false; 
     
    247245 
    248246/** 
    249  * Fired when a CKEDITOR instance is created, fully initialized, and ready for interaction. 
     247 * Fired when a CKEDITOR instance is created, fully initialized and ready for interaction. 
    250248 * @name CKEDITOR#instanceReady 
    251249 * @event 
     
    254252 
    255253/** 
    256  * Fired when the CKEDITOR instance is created, fully initialized, and ready for interaction. 
     254 * Fired when the CKEDITOR instance is created, fully initialized and ready for interaction. 
    257255 * @name CKEDITOR.editor#instanceReady 
    258256 * @event 
     
    260258 
    261259/** 
    262  * Fired before changing the editing mode. See <code>{@link CKEDITOR.editor#event:beforeSetMode}</code> and <code>{@link CKEDITOR.editor#event:mode}</code> for more information. 
    263  * @see CKEDITOR.editor#event:beforeSetMode 
    264  * @see CKEDITOR.editor#event:mode 
     260 * Fired before changing the editing mode. See also CKEDITOR.editor#beforeSetMode and CKEDITOR.editor#mode 
    265261 * @name CKEDITOR.editor#beforeModeUnload 
    266262 * @event 
     
    268264 
    269265 /** 
    270  * Fired before the editor mode is set. See <code>{@link CKEDITOR.editor#event:mode}</code> and <code>{@link CKEDITOR.editor#event:beforeModeUnload}</code> for more information. 
    271  * @see CKEDITOR.editor#event:mode 
    272  * @see CKEDITOR.editor#event:beforeModeUnload 
     266 * Fired before the editor mode is set. See also CKEDITOR.editor#mode and CKEDITOR.editor#beforeModeUnload 
    273267 * @name CKEDITOR.editor#beforeSetMode 
    274268 * @event 
     
    278272 
    279273/** 
    280  * Fired after setting the editing mode. See <code>{@link CKEDITOR.editor#event:beforeSetMode}</code> and <code>{@link CKEDITOR.editor#event:beforeModeUnload}</code> for more information. 
    281  * @see CKEDITOR.editor#event:beforeSetMode 
    282  * @see CKEDITOR.editor#event:beforeModeUnload 
     274 * Fired after setting the editing mode. See also CKEDITOR.editor#beforeSetMode and CKEDITOR.editor#beforeModeUnload 
    283275 * @name CKEDITOR.editor#mode 
    284276 * @event 
  • CKEditor/trunk/_source/plugins/keystrokes/plugin.js

    r7195 r7196  
    44*/ 
    55 
    6 // Register a plugin named "keystrokes". 
     6// Register a plugin named "sample". 
    77CKEDITOR.plugins.add( 'keystrokes', 
    88{ 
     
    1010        { 
    1111                /** 
    12                  * Controls keystroke typing in this editor instance. 
     12                 * Controls keystrokes typing in this editor instance. 
    1313                 * @name CKEDITOR.editor.prototype.keystrokeHandler 
    1414                 * @type CKEDITOR.keystrokeHandler 
     
    3737 
    3838/** 
    39  * Controls keystroke typing in an editor instance. 
     39 * Controls keystrokes typing in an editor instance. 
    4040 * @constructor 
    4141 * @param {CKEDITOR.editor} editor The editor instance. 
     
    4848 
    4949        /** 
    50          * List of keystrokes associated with commands. Each entry points to a 
     50         * List of keystrokes associated to commands. Each entry points to the 
    5151         * command to be executed. 
    5252         * @type Object 
     
    5656 
    5757        /** 
    58          * List of keystrokes that should be blocked if not defined by 
    59          * the <code>{@link #keystrokes}</code> setting. 
    60          * In this way it is possible to block default browser behavior for those keystrokes. 
     58         * List of keystrokes that should be blocked if not defined at 
     59         * {@link keystrokes}. In this way it is possible to block the default 
     60         * browser behavior for those keystrokes. 
    6161         * @type Object 
    6262         * @example 
     
    124124                /** 
    125125                 * Attaches this keystroke handle to a DOM object. Keystrokes typed 
    126                  * over this object will be handled by this keystroke handler. 
     126                 ** over this object will get handled by this keystrokeHandler. 
    127127                 * @param {CKEDITOR.dom.domObject} domObject The DOM object to attach 
    128128                 *              to. 
     
    144144 
    145145/** 
    146  * A list of keystrokes to be blocked if not defined in the <code>{@link CKEDITOR.config.keystrokes}</code> 
    147  * setting. In this way it is possible to block default browser behavior 
     146 * A list of keystrokes to be blocked if not defined in the {@link CKEDITOR.config.keystrokes} 
     147 * setting. In this way it is possible to block the default browser behavior 
    148148 * for those keystrokes. 
    149149 * @type Array 
     
    166166 
    167167/** 
    168  * A list associating keystrokes with editor commands. Each element in the list 
     168 * A list associating keystrokes to editor commands. Each element in the list 
    169169 * is an array where the first item is the keystroke, and the second is the 
    170170 * name of the command to be executed. 
     
    216216 
    217217/** 
    218  * Fired when any keyboard key (or a combination of keys) is pressed in the editing area. 
     218 * Fired when any keyboard key (or combination) is pressed into the editing area. 
    219219 * @name CKEDITOR.editor#key 
    220220 * @event 
    221221 * @param {Number} data.keyCode A number representing the key code (or 
    222  *              key combination code). It is the sum of the current key code and the 
    223  *              <code>{@link CKEDITOR.CTRL}</code>, <code>{@link CKEDITOR.SHIFT}</code>, 
    224  *              and <code>{@link CKEDITOR.ALT}</code> constants, if those are pressed. 
    225  */ 
     222 *              combination). It is the sum of the current key code and the 
     223 *              {@link CKEDITOR.CTRL}, {@link CKEDITOR.SHIFT} and {@link CKEDITOR.ALT} 
     224 *              constants, if those are pressed. 
     225 */ 
  • CKEditor/trunk/_source/plugins/link/plugin.js

    r7195 r7196  
    249249{ 
    250250        /** 
    251          *  Gets the surrounding link element of the current selection. 
     251         *  Get the surrounding link element of current selection. 
    252252         * @param editor 
    253          * @example CKEDITOR.plugins.link.<strong>getSelectedLink( editor )</strong>; 
     253         * @example CKEDITOR.plugins.link.getSelectedLink( editor ); 
    254254         * @since 3.2.1 
    255          * The following selections will all return the link element. 
     255         * The following selection will all return the link element. 
    256256         *       <pre> 
    257257         *  <a href="#">li^nk</a> 
     
    259259         *  text[<a href="#">link]</a> 
    260260         *  <a href="#">li[nk</a>] 
    261          *  [<strong><a href="#">li]nk</a></strong>] 
    262          *  [<a href="#"><strong>li]nk</strong></a> 
     261         *  [<b><a href="#">li]nk</a></b>] 
     262         *  [<a href="#"><b>li]nk</b></a> 
    263263         * </pre> 
    264264         */ 
  • CKEditor/trunk/_source/plugins/selection/plugin.js

    r7195 r7196  
    11831183                 * Locks the selection made in the editor in order to make it possible to 
    11841184                 * manipulate it without browser interference. A locked selection is 
    1185                  * cached and remains unchanged until it is released with the <code>{@link #unlock}</code> 
     1185                 * cached and remains unchanged until it is released with the <code>#unlock</code> 
    11861186                 * method. 
    11871187                 * @example 
     
    12061206 
    12071207                /** 
    1208                  * Unlocks the selection made in the editor and locked with the <code>{@link #lock}</code> method. 
     1208                 * Unlocks the selection made in the editor and locked with the <code>#lock</code> method. 
    12091209                 * An unlocked selection is no longer cached and can be changed. 
    1210                  * @param {Boolean} [restore] If set to <code>true</code>, the selection is restored back to the selection saved earlier by using the <code>{@link #lock}</code> method. 
     1210                 * @param {Boolean} [restore] If set to <code>true</code>, the selection is restored back to the selection saved earlier by using the <code>#lock</code> method. 
    12111211                 * @example 
    12121212                 * editor.getSelection().<strong>unlock()</strong>; 
     
    14381438 
    14391439                /** 
    1440                  *  Creates a bookmark for each range of this selection (from <code>{@link #getRanges}</code>) 
     1440                 *  Creates a bookmark for each range of this selection (from <code>#getRanges</code>) 
    14411441                 * by calling the <code>{@link CKEDITOR.dom.range.prototype.createBookmark}</code> method, 
    14421442                 * with extra care taken to avoid interference among those ranges. The arguments 
     
    14521452 
    14531453                /** 
    1454                  *  Creates a bookmark for each range of this selection (from <code>{@link #getRanges}</code>) 
     1454                 *  Creates a bookmark for each range of this selection (from <code>#getRanges</code>) 
    14551455                 * by calling the <code>{@link CKEDITOR.dom.range.prototype.createBookmark2}</code> method, 
    14561456                 * with extra care taken to avoid interference among those ranges. The arguments 
     
    14661466 
    14671467                /** 
    1468                  * Selects the virtual ranges denoted by the bookmarks by calling <code>{@link #selectRanges}</code>. 
     1468                 * Selects the virtual ranges denoted by the bookmarks by calling <code>#selectRanges</code>. 
    14691469                 * @param {Array} bookmarks The bookmarks representing ranges to be selected. 
    14701470                 * @returns {CKEDITOR.dom.selection} This selection object, after the ranges were selected. 
  • CKEditor/trunk/_source/plugins/styles/plugin.js

    r7195 r7196  
    16581658 
    16591659 /** 
    1660   * Disables inline styling for read-only elements. 
     1660  * Disables inline styling on read-only elements. 
    16611661  * @name CKEDITOR.config.disableReadonlyStyling 
    16621662  * @type Boolean 
    1663   * @default <code>false</code> 
     1663  * @default false 
    16641664  * @since 3.5 
    16651665  */ 
  • CKEditor/trunk/_source/plugins/styles/styles/default.js

    r7195 r7196  
    88        /* Block Styles */ 
    99 
    10         // These styles are already available in the "Format" drop-down list, so they are 
     10        // These styles are already available in the "Format" combo, so they are 
    1111        // not needed here by default. You may enable them to avoid placing the 
    12         // "Format" drop-down list in the toolbar while keeping the same features. 
     12        // "Format" combo in the toolbar, maintaining the same features. 
    1313        /* 
    1414        { name : 'Paragraph'            , element : 'p' }, 
     
    2828        /* Inline Styles */ 
    2929 
    30         // These are core styles available as toolbar buttons. You may opt to enable 
    31         // some of them in the Styles drop-down list and remove them from the toolbar. 
     30        // These are core styles available as toolbar buttons. You may opt enabling 
     31        // some of them in the Styles combo, removing them from the toolbar. 
    3232        /* 
    3333        { name : 'Strong'                       , element : 'strong', overrides : 'b' }, 
  • CKEditor/trunk/_source/plugins/wysiwygarea/plugin.js

    r7195 r7196  
    55 
    66/** 
    7  * @fileOverview The <code>wysiwygarea</code> plugin. It registers the <code>wysiwyg</code> editing 
     7 * @fileOverview The "wysiwygarea" plugin. It registers the "wysiwyg" editing 
    88 *              mode, which handles the main editing area space. 
    99 */ 
     
    12821282 
    12831283/** 
    1284  * Disables the ability to resize objects (images and tables) in the editing 
     1284 * Disables the ability of resize objects (image and tables) in the editing 
    12851285 * area. 
    12861286 * @type Boolean 
    1287  * @default <code>false</code> 
     1287 * @default false 
    12881288 * @example 
    12891289 * config.disableObjectResizing = true; 
     
    12921292 
    12931293/** 
    1294  * Disables table tools offered natively by the browser (currently 
    1295  * Firefox only) to enable quick table editing operations, like adding or 
     1294 * Disables the "table tools" offered natively by the browser (currently 
     1295 * Firefox only) to make quick table editing operations, like adding or 
    12961296 * deleting rows and columns. 
    12971297 * @type Boolean 
    1298  * @default <code>true</code> 
     1298 * @default true 
    12991299 * @example 
    13001300 * config.disableNativeTableHandles = false; 
     
    13031303 
    13041304/** 
    1305  * Disables the built-in spell checker if the browser provides one.<br /><br /> 
     1305 * Disables the built-in words spell checker if browser provides one.<br /><br /> 
    13061306 * 
    1307  * <strong>Note:</strong> Although word suggestions provided natively 
    1308  * by browsers will not appear in CKEditor's default context menu, 
    1309  * users can always reach the browser's native context menu by holding the <em>Ctrl</em> 
    1310  * key when right-clicking if <code>{@link CKEDITOR.config.browserContextMenuOnCtrl}</code> 
    1311  * is enabled or if the context menu plugin is not being used. 
     1307 * <strong>Note:</strong> Although word suggestions provided by browsers (natively) will not appear in CKEditor's default context menu, 
     1308 * users can always reach the native context menu by holding the <em>Ctrl</em> key when right-clicking if {@link CKEDITOR.config.browserContextMenuOnCtrl} 
     1309 * is enabled or you're simply not using the context menu plugin. 
    13121310 * 
    13131311 * @type Boolean 
    1314  * @default <code>true</code> 
     1312 * @default true 
    13151313 * @example 
    13161314 * config.disableNativeSpellChecker = false; 
     
    13191317 
    13201318/** 
    1321  * Whether the editor must output an empty value (<code>""</code>) if its contents 
    1322  * is made of an empty paragraph only. 
     1319 * Whether the editor must output an empty value ("") if it's contents is made 
     1320 * by an empty paragraph only. 
    13231321 * @type Boolean 
    1324  * @default <code>true</code> 
     1322 * @default true 
    13251323 * @example 
    13261324 * config.ignoreEmptyParagraph = false; 
     
    13291327 
    13301328/** 
    1331  * Fired when the data is loaded and ready for retrieval in an editor instance. 
     1329 * Fired when data is loaded and ready for retrieval in an editor instance. 
    13321330 * @name CKEDITOR.editor#dataReady 
    13331331 * @event 
     
    13351333 
    13361334/** 
    1337  * Whether to automatically create wrapping blocks around inline contents inside 
    1338  * the document body. This helps ensure the integrity of the block Enter mode.<br /><br /> 
     1335 * Whether automatically create wrapping blocks around inline contents inside document body, 
     1336 * this helps to ensure the integrality of the block enter mode. 
    13391337 * <strong>Note:</strong> Changing the default value might introduce unpredictable usability issues. 
    13401338 * @name CKEDITOR.config.autoParagraph 
    13411339 * @since 3.6 
    13421340 * @type Boolean 
    1343  * @default <code>true</code> 
     1341 * @default true 
    13441342 * @example 
    13451343 * config.autoParagraph = false; 
     
    13471345 
    13481346/** 
    1349  * Fired when some elements are added to the document. 
     1347 * Fired when some elements are added to the document 
    13501348 * @name CKEDITOR.editor#ariaWidget 
    13511349 * @event 
    1352  * @param {Object} element The element being added. 
     1350 * @param {Object} element The element being added 
    13531351 */ 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy