fixes #2027
adds image tag autocomplete to template editor