Skip to content

Commit

Permalink
API docs corrections.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tade0 committed Nov 7, 2016
1 parent 0697f65 commit cc9647e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion core/editable.js
Expand Up @@ -1232,7 +1232,7 @@
*
* @method editable
* @member CKEDITOR.editor
* @param {CKEDITOR.dom.element/CKEDITOR.editable} elementOrEditable The
* @param {CKEDITOR.dom.element/CKEDITOR.editable} [elementOrEditable] The
* DOM element to become the editable or a {@link CKEDITOR.editable} object.
*/
CKEDITOR.editor.prototype.editable = function( element ) {
Expand Down
8 changes: 8 additions & 0 deletions core/editor.js
Expand Up @@ -1836,6 +1836,14 @@ CKEDITOR.ELEMENT_MODE_INLINE = 3;
* @param {CKEDITOR.editor} editor This editor instance.
*/

/**
* Event fired when the {@link #method-destroy} is called,
* but before destroying the editor.
*
* @event beforeDestroy
* @param {CKEDITOR.editor} editor This editor instance.
*/

/**
* Internal event to get the current data.
*
Expand Down
5 changes: 1 addition & 4 deletions plugins/pastefromword/filter/default.js
Expand Up @@ -1331,12 +1331,9 @@
* Note that list items within a single list but with different levels that did not get chopped
* will still be rendered as a list tree later.
*
* @todo: Describe what `lists` parameter is for. By the looks of it it's supposed to be array which is used
* to return the value.
*
* @private
* @param {CKEDITOR.htmlParser.element[]} list An array containing list items.
* @param {CKEDITOR.htmlParser.element[]} lists
* @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.
* @member CKEDITOR.plugins.pastefromword.lists
*/
chopDiscontinousLists: function( list, lists ) {
Expand Down

0 comments on commit cc9647e

Please sign in to comment.