Skip to content

Commit cc9647e

Browse files
committed
API docs corrections.
1 parent 0697f65 commit cc9647e

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

core/editable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1232,7 +1232,7 @@
12321232
*
12331233
* @method editable
12341234
* @member CKEDITOR.editor
1235-
* @param {CKEDITOR.dom.element/CKEDITOR.editable} elementOrEditable The
1235+
* @param {CKEDITOR.dom.element/CKEDITOR.editable} [elementOrEditable] The
12361236
* DOM element to become the editable or a {@link CKEDITOR.editable} object.
12371237
*/
12381238
CKEDITOR.editor.prototype.editable = function( element ) {

core/editor.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1836,6 +1836,14 @@ CKEDITOR.ELEMENT_MODE_INLINE = 3;
18361836
* @param {CKEDITOR.editor} editor This editor instance.
18371837
*/
18381838

1839+
/**
1840+
* Event fired when the {@link #method-destroy} is called,
1841+
* but before destroying the editor.
1842+
*
1843+
* @event beforeDestroy
1844+
* @param {CKEDITOR.editor} editor This editor instance.
1845+
*/
1846+
18391847
/**
18401848
* Internal event to get the current data.
18411849
*

plugins/pastefromword/filter/default.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1331,12 +1331,9 @@
13311331
* Note that list items within a single list but with different levels that did not get chopped
13321332
* will still be rendered as a list tree later.
13331333
*
1334-
* @todo: Describe what `lists` parameter is for. By the looks of it it's supposed to be array which is used
1335-
* to return the value.
1336-
*
13371334
* @private
13381335
* @param {CKEDITOR.htmlParser.element[]} list An array containing list items.
1339-
* @param {CKEDITOR.htmlParser.element[]} lists
1336+
* @param {CKEDITOR.htmlParser.element[]} lists All the lists in the pasted content represented by an array of arrays of list items. Modified by this method.
13401337
* @member CKEDITOR.plugins.pastefromword.lists
13411338
*/
13421339
chopDiscontinousLists: function( list, lists ) {

0 commit comments

Comments
 (0)