added alignLeft and alignRight for images added by editor template