Fix additional document.domain editor edge cases

Refs #17529.