workaround for broken firefox contenteditable