Only convert markdown onSubmit if in HTML mode
Update editor selector fixture and test to match implementation