Fixing rich text editor for touch