place cursor inside block after conversion

fixing #1