ignore form elements inside rich editors (e.g., codemirror uses a textarea to capture key inputs)