Picture of Fabian Holtermann
Software Engineer, Sitecore Certified Trainer & Expert

Today I Learned Part 4

Sitecore Logo

Today I learned... ... that the Sitecore fieldrenderer property “EnclosingTag” will cause this tag to appear inside the field value if you edit it in the page editor. Preventing it is simple, just switch the order of the following two processors:


<renderfield>
<processor patch:instead="processor[@type='Sitecore.Pipelines.RenderField.AddBeforeAndAfterValues, Sitecore.Kernel']" type="Sitecore.Pipelines.RenderField.RenderWebEditing, Sitecore.Kernel">
<processor patch:after="processor[@type='Sitecore.Pipelines.RenderField.RenderWebEditing, Sitecore.Kernel']" type="Sitecore.Pipelines.RenderField.AddBeforeAndAfterValues, Sitecore.Kernel">
</processor>
</processor>
</renderfield>

Kommentare
Es wurden noch keine Kommentare zu diesem Eintrag geschrieben.
Kommentar hinzufügen
Vor und Zuname
E-Mail
E-Mail bei weiteren Kommentaren
Mein Kommentar