add component editor callback