fixed key-press bug in contenteditables