Moves parentElements and isListItemChild to mediumEditor.util