Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
VML onEd Attribute
<!DOCTYPE html>
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" lang="en">
<meta charset="UTF-8" />
<title>VML onEd</title>
<v:rect fillcolor="green" style="width:100px; height:100px;"></v:rect>
<v:rect fillcolor="yellow" style="position:relative; left:100px; width:100px; height:100px;"></v:rect>
<v:rect OnEd="True" fillcolor="red" style="position:relative; left:200px; width:100px; height:100px;"></v:rect>
<v:rect OnEd="False" fillcolor="blue" style="position:relative; left:300px;width:100px; height:100px;"></v:rect>
<hr />
<v:image src="" OnEd="False" alt="This is an alternative text." />
<v:image src="" OnEd="True" alt="This is another alternative text." />

This comment has been minimized.

Copy link
Owner Author

hteumeuleu commented Mar 21, 2019

Yesterday, Courtney G. on the Emailgeeks Slack shared that the OnEd attribute in VMLso that it "removes the handles that the end-user will see if they click on the VML object and makes it act more like a standard image-and-text setup". This is great, because it's a minor VML caveat. I made the above test but wasn't able to confirm it works in Outlook 2013. The first rectangle (green one) shows no handles by default. But all other three rectangles show handles. Both image elements show handles as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.