Last active
August 29, 2015 14:11
-
-
Save bkoopman/5e1f0bbf2b8f14d14878 to your computer and use it in GitHub Desktop.
DWT XPM Example for making HTML attributes editable
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
${FieldStartMarker("image")} | |
${FieldValueStartMarker()} | |
<div style="background:url(@@Component.Fields.image@@);"> | |
<!-- whatever, but keep in mind you cannot edit the stuff inside this anymore --> | |
</div> | |
${FieldValueEndMarker()} | |
${FieldEndMarker()} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment