Validation based on which editor is being used