[BUGFIX] Only attach toolbar to text/html content type