Skip to content

Commit

Permalink
Docs(engine): Fixed missing return value for DowncastWriter#rename.
Browse files Browse the repository at this point in the history
  • Loading branch information
mlewand committed Jan 13, 2021
1 parent 20def84 commit 51f68ab
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 51f68ab

Please sign in to comment.