Skip to content

Commit

Permalink
Merge pull request #8828 from ckeditor/api-docs-writer-rename
Browse files Browse the repository at this point in the history
Docs (engine): Added missing API docs for the return value of `DowncastWriter#rename`.
  • Loading branch information
scofalik authored Jan 13, 2021
2 parents 20def84 + 51f68ab commit 1e86938
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/ckeditor5-engine/src/view/downcastwriter.js
Original file line number Diff line number Diff line change
Expand Up @@ -965,6 +965,7 @@ export default class DowncastWriter {
*
* @param {String} newName New name for element.
* @param {module:engine/view/containerelement~ContainerElement} viewElement Element to be renamed.
* @returns {module:engine/view/containerelement~ContainerElement} Element created due to rename.
*/
rename( newName, viewElement ) {
const newElement = new ContainerElement( this.document, newName, viewElement.getAttributes() );
Expand Down

0 comments on commit 1e86938

Please sign in to comment.