8
0
Просмотр исходного кода

Docs: Fix documentation of the UpcastWriter.unwrapElement() method.

Maciej Gołaszewski 6 лет назад
Родитель
Сommit
930fb548bb
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      packages/ckeditor5-engine/src/view/upcastwriter.js

+ 1 - 2
packages/ckeditor5-engine/src/view/upcastwriter.js

@@ -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;