Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Docs: Fix documentation of the UpcastWriter.unwrapElement() method.
Browse files Browse the repository at this point in the history
  • Loading branch information
jodator committed Aug 2, 2019
1 parent d1255ac commit c057a94
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/view/upcastwriter.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,7 @@ export default class UpcastWriter {
* Removes given element from view structure and places its children in its position.
* It does nothing if element has no parent.
*
* @param {module:engine/view/element~Element} element Element which will be unwrapped
* @returns {Boolean} Whether element was successfully unwrapped.
* @param {module:engine/view/element~Element} element Element to unwrap.
*/
unwrapElement( element ) {
const parent = element.parent;
Expand Down

0 comments on commit c057a94

Please sign in to comment.