Add option to `text` which makes it possible to return all text, not just invisible text, closes #960