Removed unnecessary console logs

Removed unnecessary console logs in the editor directive.