If there's existing content in the editor then it's possible to insert a code snippet via dnd like this:  ...which isn't ideal! The cursor position will also be confused as it assumes it should be offset by the length of the inserted imports.