diff -r 5527bc086216 -r 0ef5de2d5674 src/pyams_content/component/paragraph/header.py --- a/src/pyams_content/component/paragraph/header.py Thu Feb 22 12:00:05 2018 +0100 +++ b/src/pyams_content/component/paragraph/header.py Thu Feb 22 15:58:28 2018 +0100 @@ -17,7 +17,7 @@ # import interfaces from pyams_content.component.paragraph.interfaces import IParagraphFactory -from pyams_content.component.paragraph.interfaces.header import IHeaderParagraph +from pyams_content.component.paragraph.interfaces.header import IHeaderParagraph, HEADER_PARAGRAPH_TYPE from pyams_content.features.checker.interfaces import IContentChecker, MISSING_VALUE, MISSING_LANG_VALUE from pyams_i18n.interfaces import II18n, II18nManager, INegotiator @@ -48,7 +48,7 @@ header = FieldProperty(IHeaderParagraph['header']) -@utility_config(name='Header', provides=IParagraphFactory) +@utility_config(name=HEADER_PARAGRAPH_TYPE, provides=IParagraphFactory) class HTMLParagraphFactory(BaseParagraphFactory): """HTML paragraph factory"""