--- a/src/pyams_content/component/illustration/zmi/paragraph.py Tue Oct 09 09:00:12 2018 +0200
+++ b/src/pyams_content/component/illustration/zmi/paragraph.py Tue Oct 09 15:05:38 2018 +0200
@@ -17,8 +17,8 @@
from z3c.form.interfaces import INPUT_MODE
from zope.interface import implementer
-from pyams_content.component.illustration.interfaces import IIllustration, IIllustrationParagraph, IIllustrationTarget, \
- ILLUSTRATION_PARAGRAPH_TYPE
+from pyams_content.component.illustration.interfaces import IBasicIllustrationTarget, IIllustration, \
+ IIllustrationParagraph, ILLUSTRATION_PARAGRAPH_TYPE
from pyams_content.component.illustration.paragraph import Illustration
from pyams_content.component.paragraph.interfaces import IParagraphContainer, IParagraphContainerTarget
from pyams_content.component.paragraph.zmi import BaseParagraphAJAXAddForm, BaseParagraphAJAXEditForm, \
@@ -141,7 +141,7 @@
# Paragraph container illustration marker
#
-@viewlet_config(name='illustration', context=IIllustrationTarget, layer=IPyAMSLayer, view=IParagraphContainerTable,
+@viewlet_config(name='illustration', context=IBasicIllustrationTarget, layer=IPyAMSLayer, view=IParagraphContainerTable,
manager=IParagraphTitleToolbar, permission=VIEW_SYSTEM_PERMISSION, weight=5)
@template_config(template='templates/paragraph-illustration-icon.pt', layer=IPyAMSLayer)
class ParagraphContainerIllustrationMarker(Viewlet):