Skip to content

Instantly share code, notes, and snippets.

@5up3rman
Created June 29, 2017 19:20
Show Gist options
  • Save 5up3rman/153095929ab8d1ca510a04144fbddd5a to your computer and use it in GitHub Desktop.
Save 5up3rman/153095929ab8d1ca510a04144fbddd5a to your computer and use it in GitHub Desktop.
Wrapper, Marker Example Config
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
<sitecore>
<pipelines>
<mvc.renderRendering>
<processor type="EditorEnhancementToolkit.Foundation.ContentEditor.Pipelines.RenderRenderer.InjectExperiencEditorAssets,EditorEnhancementToolkit.Foundation.ContentEditor">
<styles hint="list:addStyleResource">
<resource>/sitecore modules/Shell/Editor Enhancement Toolkit/Resources/EditorEnhancementToolkit.css</resource>
</styles>
</processor>
<processor type="Sitecore.Mvc.ExperienceEditor.Pipelines.Response.RenderRendering.AddWrapper, Sitecore.Mvc.ExperienceEditor" patch:before="processor[@type='Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer, Sitecore.Mvc']"/>
<processor
patch:after="processor[@type='Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer, Sitecore.Mvc']"
type="EditorEnhancementToolkit.Foundation.ContentEditor.Pipelines.RenderRenderer.AddWrapper, EditorEnhancementToolkit.Foundation.ContentEditor" />
</mvc.renderRendering>
</pipelines>
</sitecore>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment