@Override
  public @NotNull List<PsiElement> unwrap(@NotNull Editor editor, @NotNull PsiElement element) throws IncorrectOperationException {
    TextRange range = element.getTextRange();
    ASTNode startTagNameEnd = XmlChildRole.START_TAG_END_FINDER.findChild(element.getNode());
    ASTNode endTagNameStart = XmlChildRole.CLOSING_TAG_START_FINDER.findChild(element.getNode());

    Project project = element.getProject();
    PsiFile file = element.getContainingFile();
    Document document = editor.getDocument();
    RangeMarker marker = document.createRangeMarker(range);
    if (endTagNameStart != null) {
      document.deleteString(endTagNameStart.getTextRange().getStartOffset(), range.getEndOffset());
      document.deleteString(range.getStartOffset(), startTagNameEnd.getTextRange().getEndOffset());
    }
    else {
      document.replaceString(range.getStartOffset(), range.getEndOffset(), "");
    }

    deleteEmptyLine(document, marker.getStartOffset());
    deleteEmptyLine(document, marker.getEndOffset());

    PsiDocumentManager.getInstance(project).commitDocument(document);
    CodeStyleManager.getInstance(project).adjustLineIndent(file, marker.getTextRange());
    return Collections.emptyList();
  }
@Override
  public @NotNull List<PsiElement> unwrap(@NotNull Editor editor, @NotNull PsiElement element)