Only apply keydown events for P elements when paragraphs option is set
Use correct event