Why can't enable autotext in Writer?

When I go to tools>autotext, it is greyed out. Also, the keyboard shortcut does nothing. How do I enable it?

All I can see is that autotext is disabled when I have some shape selected (a rectangular object with handles). Autotext is inserted at the position of a text cursor.