There are two selections on the page with the same treatment. It is not clear the upper one is deactivated, and therefore that if I start typing it will overwrite the bottom one:
Google Docs uses a grey selection when the document is blurred, or the cursor is in the link inspector: