autocomplete working with editor base