Support atom-text-editor shadow DOM