src/pyams_content/component/illustration/zmi/paragraph.py
changeset 555 8e8a14452567
parent 550 9658debb49a3
child 591 b694d5667d17
--- a/src/pyams_content/component/illustration/zmi/paragraph.py	Thu May 24 10:51:45 2018 +0200
+++ b/src/pyams_content/component/illustration/zmi/paragraph.py	Fri May 25 08:03:41 2018 +0200
@@ -17,7 +17,7 @@
 
 # import interfaces
 from pyams_content.component.paragraph.interfaces import IParagraphContainerTarget, \
-    IParagraphContainer, IParagraphRenderer
+    IParagraphContainer
 from pyams_content.component.illustration.interfaces import IIllustration, IIllustrationParagraph, \
     ILLUSTRATION_PARAGRAPH_TYPE
 from pyams_content.component.paragraph.zmi.interfaces import IParagraphInnerEditor, IParagraphContainerView
@@ -32,7 +32,6 @@
 from pyams_content.component.illustration.paragraph import Illustration
 from pyams_content.component.paragraph.zmi import BaseParagraphAJAXAddForm, BaseParagraphAJAXEditForm, \
     BaseParagraphAddMenu, BaseParagraphPropertiesEditForm, get_json_paragraph_refresh_event, IParagraphEditFormButtons
-from pyams_content.features.renderer.zmi import BaseRenderedContentRenderer
 from pyams_content.features.renderer.zmi.widget import RendererFieldWidget
 from pyams_pagelet.pagelet import pagelet_config
 from pyams_skin.event import get_json_form_refresh_event
@@ -162,12 +161,3 @@
             output.setdefault('events', []).append(get_json_form_refresh_event(self.context, self.request,
                                                                                IllustrationInnerEditForm))
         return output
-
-
-#
-# Illustration renderer
-#
-
-@adapter_config(context=(IIllustrationParagraph, IPyAMSLayer), provides=IParagraphRenderer)
-class IllustrationRenderer(BaseRenderedContentRenderer):
-    """Illustration renderer"""