contentEditable=false

  •  11-18-2009, 5:07 AM

    contentEditable=false

    Hi, we are trying to allow users to insert span tags with contentEditable=false, but when this is the only content in the editor we cannot type anymore text.
    what seams to be happening is  that the cursor cannot move out of the span tag.
     
    here is a sample some code where we set the Text property of the editor -
    Editor1.Text = "<span class='Embedded_Table' contenteditable='false' ><table style='position: relative; border-bottom-color: #000000; border-top-color: #000000; border-collapse: collapse; table-layout: fixed; border-right-color: #000000; border-left-color: #000000' class='EmbeddedTable' border='1' bordercolor='#000000' cellpadding='3'>    <colgroup>    <col style='text-align: left; width: 30mm; vertical-align: top'></colgroup>    <thead style='font-style: normal; font-family: inherit; font-weight: bold; text-decoration: none'><tr><td style='text-align: center; font-style: normal; font-family: inherit; font-weight: bold; text-decoration: none'>0002</td></tr><tr><td style='font-style: normal; font-family: inherit;background: #b0d3dc; font-weight: bold; text-decoration: none'>Name</td></tr></thead><tbody style='font-style: normal; font-family: inherit; font-weight: normal; text-decoration: none'></table></span>"; 
View Complete Thread