Fixes #1: Typing in editor before initial content is loaded doesn't work.

Wait for the 'ready' event and then retry the operation so it gets transformed forward.