Hi All,
Thank you for read this post! =]
I have some custom templates to create new pages using the Editor, however I am having problem when working with images placed inside my DIVs tags as follow step-by-step:
//Creating a new page using following template:
//Adding a image inside custom DIV tag divElement_0
//At this point I want change some image properties. So, I double click over image and the image editor page opens. After changed, I click OK to confirm those changes, but instead replaces current image tag, a new one is created outsite my custom DIV tag.
This behavior does not happen with images outside custom DIV tag. In this case a new image is not created and the current one is updated correctly.
Any ideas?
Cheers
Sandro.
Thank you for read this post! =]
I have some custom templates to create new pages using the Editor, however I am having problem when working with images placed inside my DIVs tags as follow step-by-step:
//Creating a new page using following template:
<style type="text/css"> div { border: dotted 1pt Gray; } </style> <div style="border-bottom: #becdda 1pt solid; border-left: #becdda 1pt solid; width: 1000px; height: 400px; border-top: #becdda 1pt solid; border-right: #becdda 1pt solid"> <div id="divElement_0"> <p>[Insert content]</p> </div> <div id="divElement_1"> <p>[Insert content]</p> </div> <div id="divElement_2"> <p>[Insert content]</p> </div> </div>
//Adding a image inside custom DIV tag divElement_0
<style type="text/css"> div {border: dotted 1pt Gray;} </style> <div style="border-bottom: #becdda 1pt solid; border-left: #becdda 1pt solid; width: 1000px; height: 400px; border-top: #becdda 1pt solid; border-right: #becdda 1pt solid"> <div id="divElement_0"> <p> <img style="margin-right: 10px" border="0" name="Alkamos.jpg~/Platinum/Content/contentFiles/JPG/Alkamos.jpg~The%20Alkamos~250px~188px~5~0" width="125" height="94" alt="" src="/Platinum/Content/contentFiles/JPG/Alkamos.jpg" /> [Insert content]</p> </div> <div id="divElement_1"> <p>[Insert content]</p> </div> <div id="divElement_2"> <p>[Insert content]</p> </div> </div>
//At this point I want change some image properties. So, I double click over image and the image editor page opens. After changed, I click OK to confirm those changes, but instead replaces current image tag, a new one is created outsite my custom DIV tag.
<style type="text/css"> div {border: dotted 1pt Gray;} </style> <img style="margin-right: 10px" border="0" name="Alkamos.jpg~/Platinum/Content/contentFiles/JPG/Alkamos.jpg~The%20Alkamos~250px~188px~3~0" width="175" height="132" alt="" src="/Platinum/Content/contentFiles/JPG/Alkamos.jpg" /> <div style="border-bottom: #becdda 1pt solid; border-left: #becdda 1pt solid; width: 1000px; height: 400px; border-top: #becdda 1pt solid; border-right: #becdda 1pt solid"> <div id="divElement_0"> <p> <img style="margin-right: 10px" border="0" name="Alkamos.jpg~/Platinum/Content/contentFiles/JPG/Alkamos.jpg~The%20Alkamos~250px~188px~5~0" alt="" width="125" height="94" src="/Platinum/Content/contentFiles/JPG/Alkamos.jpg" /> [Insert content]</p> </div> <div id="divElement_1"> <p>[Insert content]</p> </div> <div id="divElement_2"> <p>[Insert content]</p> </div> </div>
This behavior does not happen with images outside custom DIV tag. In this case a new image is not created and the current one is updated correctly.
Any ideas?
Cheers
Sandro.