--- a/editor/libeditor/HTMLEditor.h+++ b/editor/libeditor/HTMLEditor.h@@ -2270,16 +2270,26 @@ class HTMLEditor final : public TextEdit * @param aDirectionAndAmount Direction of the deletion. * @param aStripWrappers Must be eStrip or eNoStrip. */ MOZ_CAN_RUN_SCRIPT MOZ_MUST_USE EditActionResult HandleDeleteSelection(nsIEditor::EDirection aDirectionAndAmount, nsIEditor::EStripWrappers aStripWrappers); /**+ * DeleteMostAncestorMailCiteElementIfEmpty() deletes most ancestor+ * mail cite element (`<blockquote type="cite">` or+ * `<span _moz_quote="true">`, the former can be created with middle click+ * paste with `Control` or `Command` even in the web) of aContent if it+ * becomes empty.+ */+ MOZ_CAN_RUN_SCRIPT MOZ_MUST_USE nsresult+ DeleteMostAncestorMailCiteElementIfEmpty(nsIContent& aContent);++ /** * LiftUpListItemElement() moves aListItemElement outside its parent. * If it's in a middle of a list element, the parent list element is split * before aListItemElement. Then, moves aListItemElement to before its * parent list element. I.e., moves aListItemElement between the 2 list * elements if original parent was split. Then, if new parent becomes not a * list element, the list item element is removed and its contents are moved * to where the list item element was. If aListItemElement becomse not a * child of list element, its contents are unwrapped from aListItemElement.