Use keypress instead of keydown to allow for binding of events before the main paragraph creation