Using TextField for pinyin editing in the cursor