Fixed Html view toolbar behaviour

Toolbar is now disabled when viewing html