Editor removes empty attributes from iframe

2 posts, 0 answers
  1. Andrey
    Andrey avatar
    3 posts
    Member since:
    Sep 2014

    Posted 15 Sep 2014 Link to this post

    Hi Guys,

    Scenario:
    1. Select the “HTML” mode;
    2. Add the following iframe:
    <iframe src="http://www.sitecore.net/" width="500px" height="500px" myattr1=”1” myattr2=””></iframe>
    3. Switch to the “Design” mode;
    4. Switch to the “HTML” one.
    Actual result:
    <iframe src="http://www.sitecore.net/" width="500px" height="500px" myattr1=”1”></iframe>
    Expected result:
    <iframe src="http://www.sitecore.net/" width="500px" height="500px" myattr1=”1” myattr2=””></iframe>
    Please take a look at the video at http://screencast.com/t/jnqcsNmIcx0

    Best regards,
    Andrey
  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3602 posts

    Posted 18 Sep 2014 Link to this post

    Hi Andrey,

    Could you try adding a value to the second attribute so it is valid? I am attaching here a short video that demonstrates the difference.


    Regards,

    Marin Bratanov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top