+67
−92
File changed.
Preview size limit exceeded, changes collapsed.
Loading
Bug 1762115 - part 15: Make `HTMLEditor::InsertNodeIntoProperAncestorWithTransaction()` stop touching `Selection` directly r=m_kato This patch also makes that `HTMLWithContextInserter::InsertContents` collect moving children first. Then, move each one with a transaction. This is standard manner in these days to avoid infinite loop caused by moving the removed child back by a mutation event listener. Differential Revision: https://phabricator.services.mozilla.com/D144658
File changed.
Preview size limit exceeded, changes collapsed.