#IF(#DEFINED(#ImageMedium))
#BLOCK("InlineEditor", "image", #Object, "ImageMedium")

#ENDBLOCK
#ELSIF(#INPUT.IsEditorMode AND (#Class.Alias EQ "Category" OR #Class.Alias EQ "StartPage"))
#BLOCK("InlineEditor", "image", #Object, "ImageMedium")

#ENDBLOCK
#ENDIF
#BLOCK("InlineEditor", "text", #Object, "Name", "Tag=h1")#NameOrAlias
#ENDBLOCK
#BLOCK("InlineEditor", "html", #Object, "Text", "Tag=div;Class=CategoryText")#IF(#Text)#Text[0]#ELSE#Description[0]#ENDIF
#ENDBLOCK