Created
March 21, 2019 11:36
-
-
Save hteumeuleu/5a02c2c88cee6542aa50dfa153219b9a to your computer and use it in GitHub Desktop.
VML onEd Attribute
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
<!DOCTYPE html> | |
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>VML onEd</title> | |
</head> | |
<body> | |
<h1>onEd</h1> | |
<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="https://www.apple.com/newsroom/images/product/iphone/lifestyle/Apple-Shot-on-iPhone-Challenge-winners-Alex-Jiang-02262019_big.jpg" OnEd="False" alt="This is an alternative text." /> | |
<v:image src="https://www.apple.com/newsroom/images/product/iphone/lifestyle/Apple-Shot-on-iPhone-Challenge-winners-Alex-Jiang-02262019_big.jpg" OnEd="True" alt="This is another alternative text." /> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.