Hi mheckman,
It works fine for me. What browser/version you are testing?
Below are my test steps.
1. Go to http://cutesoft.net/example/general.aspx, clean all content of editor.
2. Add <div>test</div> into html view of editor.
3. Put the cursor behind "e" and insert template 1 from the insert template dialog.
Below is the full html code what I got. As you can see the last line, the </div> still there.
- <div>te
- <div align="center"> <center>
- <table border="0" cellpadding="5" cellspacing="1" width="98%">
- <tbody>
- <tr style="background-color: #ffff00">
- <td style="width: 20%;"> </td>
- <td style="width: 15px;"> </td>
- <td style="width: 80%;">
- <div unselectable="on" contenteditable="false">
- <h2> This Heading is not editable.</h2>
- </div>
- </td>
- </tr>
- <tr>
- <td style="background-color: #ff9900; width: 20%">
- <h5> SECTION 1</h5>
- <p> Title 1<br />
- Title 2<br />
- Title 3</p>
- <h5> SECTION 2</h5>
- <p> Title 1<br />
- Title 2<br />
- Title 3<br />
- Title 4</p>
- <h5> SECTION 3</h5>
- <p> Title 1<br />
- Title 2<br />
- Title 3<br />
- Title 4<br />
- Title 5</p>
- </td>
- <td style="background-color: #0033cc;"> </td>
- <td style="background-color: #0033cc; vertical-align:top">
- <p> <img src="http://cutesoft.net/data/Fish.jpg" alt="" /><br />
- <em><strong>Fish Photo Caption</strong></em><br />
- Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diem nonummy nibh euismod tincidunt ut lacreet dolore magna aliguam erat volutpat. Ut wisis enim ad minim veniam, quis nostrud exerci tution ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis te feugifacilisi. Duis autem dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit au gue duis dolore te feugat nulla facilisi.</p>
- <p> Ut wisi enim ad minim veniam, quis nostrud exerci taion ullamcorper suscipit lobortis nisl ut aliquip ex en commodo consequat. Duis te feugifacilisi per suscipit lobortis nisl ut aliquip ex en commodo consequat.Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diem nonummy nibh euismod tincidunt ut lacreet dolore magna aliguam erat volutpat. Ut wisis enim ad minim veniam, quis nostrud exerci tution ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis te feugifacilisi. Duis autem dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit au gue duis dolore te feugat nulla facilisi. Ut wisi enim ad minim veniam, quis nostrud exerci taion ullamcorper suscipit lobortis nisl ut aliquip ex en commodo consequat. Duis te feugifacilisi per suscipit lobortis nisl ut aliquip ex en commodo consequat.</p>
- <p> Duis te feugifacilisi. Duis autem dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit au gue duis dolore te feugat nulla facilisi. Ut wisi enim ad minim veniam, quis nostrud exerci taion ullamcorper suscipit lobortis nisl ut aliquip ex en commodo consequat. Duis te feugifacilisi per suscipit lobortis nisl ut aliquip ex en commodo consequat. </p>
- </td>
- </tr>
- </tbody>
- </table>
- </center> </div>
- st</div>
Regards,
Ken