Remove redundant templateM8-extension for text and image

Removed the redundant templateM8-extension for text and image content elements, since they are handled by the foreach palette loop.