HTML Pasted got updated in Cute Editor

  •  08-22-2006, 9:59 AM

    HTML Pasted got updated in Cute Editor

    A bug was found in Cute Editor which prevents integrators from simply pasting HTML from Dreamweaver into the HTML view of Cute Editor. It seems like Cute Editor re-processes the HTML entered and breaks it in some cases.

    If you paste this HTML below in the HTML view of Cute Editor and simply save to database. It will not show correctly on the preview site. The HTML code inputed in Cute Editor is modified and not save correctly to the Database.
     
    Example :
     
    <!--BEGIN To delete before posting -->
    <script type="text/javascript" src="http://media.laredoute.fr/intl/PT/pt/refreshes/001/js/scripts.js"></script>
    <script type="text/javascript" src="http://media.laredoute.fr/intl/PT/pt/refreshes/001/js/flashobject.js"></script>
    <!--END To delete before posting -->
    <script language="javascript"> 
    function ChangeUrl(aspnetForm)
    {location.href = aspnetForm.categorie.options[aspnetForm.categorie.selectedIndex].value;}
    </script>
    <table width="778" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td valign="top">
          <table width="592" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><img src="http://minnie1pt.francenet.fr/update3/images/best_woman_1.jpg" width="320" height="155"></td>
            <td width="592"><img src="http://minnie1pt.francenet.fr/update3/images/best_2_fem.jpg" width="272" height="155"></td>
            </tr>
          <tr>
            <td><img src="http://minnie1pt.francenet.fr/update3/images/best_woman_3.jpg" width="320" height="75"></td>
            <td><img src="http://minnie1pt.francenet.fr/update3/images/best_woman_4.jpg" width="272" height="75"></td>
            </tr>
          <tr>
            <td><img src="http://minnie1pt.francenet.fr/update3/images/best_woman_5.jpg" width="320" height="40"></td>
            <td background="http://minnie1pt.francenet.fr/update3/images/best_6.jpg"><select  name="categorie" onChange="ChangeUrl(aspnetForm)" style="font-family: verdana, arial;font-size:11px;" id="cat">
              <option selected>Categoria...</option>
              <option value="/PT/pt/category.aspx?categoryid=22110533&opeco=MULHER:ZS1:MELHORES-VENDAS">Casacos & Blusões</option>
              <option value="/PT/pt/category.aspx?categoryid=22110639&opeco=MULHER:ZS1:MELHORES-VENDAS">Vestidos & Saias</option>
              <option value="/PT/pt/category.aspx?categoryid=22110761&opeco=MULHER:ZS1:MELHORES-VENDAS">Calçado & Acessórios</option>
              <option value="/PT/pt/category.aspx?categoryid=22110890&opeco=MULHER:ZS1:MELHORES-VENDAS">Camisolas & Camisas</option>
              <option value="/PT/pt/category.aspx?categoryid=22110984&opeco=MULHER:ZS1:MELHORES-VENDAS">Calças & Bermudas</option>
            </select></td>
            </tr>
        </table></td>
        <td width="8">&nbsp;</td>
        <td width="178"><a href="http://www.laredoute.pt/PT/pt/ListPages/ListPageTemplate5.aspx?brand=TAILLISSIME" target="_top"><img src="http://minnie1pt.francenet.fr/update3/images/PTtailli180x270.jpg" width="180" height="270" border="0"></a></td>
      </tr>
    </table>


View Complete Thread