When this happens I copy the text I have been writing and then refresh the page and paste the text back. That usually solves the trouble for me. I've also noticed that here on Jim's boards if I hit "preview" that fixes my keyboard and I can just continue with my post.