Pasting from outside editor into cute editor from firefox

Last post 01-29-2007, 2:19 PM by Adam. 6 replies.
Sort Posts: Previous Next
  •  12-22-2006, 6:21 PM 25318

    Pasting from outside editor into cute editor from firefox

    This problem does not happen in ie but it does in firefox. I am not sure about the other browsers. If you take code from an outside editor like dreamweaver and paste it into the online editor using firefox firefox meses up the code. Most code editors put the code in a format where you have the first tag then you go to the next line and indent and put the next tag. If you take the code in that format and paste it into the html potion of the editor in firefox it puts   any place that there is some spaces in the code which in turn makes the page show up incorrect. It even puts &nbps; in places where would make it invalid code. For example
     
     &nbsp; </td>
        &nbsp;
        </tr>
        &nbsp;
       </tbody>
     
    As you can see &nbsp; where you can not put them.
     
    Another thing i noticed is if you look at the the code in IE It is formated like most editors but if you look at it id firefox it is all in a row. Im not sure if that all has to do with each other but please let me know asap how to fix this. I have people using my product with firefox but with this problem i am catching hell.
     
  •  12-26-2006, 11:39 AM 25333 in reply to 25318

    Re: Pasting from outside editor into cute editor from firefox

    jlsmedia,
     
    Can you reproduce the problems in the following link?

    http://cutesoft.net/asp/EnableAll.asp
     
    If not, can you tell me which version you are using?
     

     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  12-29-2006, 10:47 AM 25437 in reply to 25333

    Re: Pasting from outside editor into cute editor from firefox

    Yes you can replicate it on your demo site
  •  01-09-2007, 11:38 AM 25662 in reply to 25437

    Re: Pasting from outside editor into cute editor from firefox

    any word?
  •  01-18-2007, 2:08 PM 25919 in reply to 25662

    Re: Pasting from outside editor into cute editor from firefox

    Tested.  This does ONLY happen in Firefox.  I believe this is due to the way Firefox interacts with the system clipboard.  I have foud that this only happens when you copy INDENTED code.  If you unindent the code and paste it in the form of:
     
    <p>
    text
    </p>
     
    rather than:
     
    <p>
         text
    </p>
     
    the problem goes away.  I don't know how easy this is in other editors, but in Dreamweaver, you can simply select all the text, hit SHIFT+TAB a few times, and it removes all the indentation.
     
    Hope this helps.
    Max
  •  01-29-2007, 1:17 PM 26231 in reply to 25919

    Re: Pasting from outside editor into cute editor from firefox

    Thanks for the info maximus but i am wondering if there is anything else that can be done about this. IF you use the editor in IE and look at the code it creates it is all indented the same way dream weaver does it but the editor in firefox always shows the code without indents. See here http://cutesoft.net/asp/EnableAll.asp. Open it in IE and view source then open it in firefox then view source. So there has to be something about the editors code for firefox. This was tested in another online editor using firefox an that editor did not put the random &nbsp; in the code. It did do the bump up to the left thing which is not the problem. Extra code is.
     
    I purchased a Redistribution license to use the editor for my product so i would like support for it from the creators of the editor. Why is it so hard to get someone that works at the company to answer my question?
  •  01-29-2007, 2:19 PM 26240 in reply to 26231

    Re: Pasting from outside editor into cute editor from firefox

    jlsmedia:
    Thanks for the info maximus but i am wondering if there is anything else that can be done about this. IF you use the editor in IE and look at the code it creates it is all indented the same way dream weaver does it but the editor in firefox always shows the code without indents. See here http://cutesoft.net/asp/EnableAll.asp. Open it in IE and view source then open it in firefox then view source. So there has to be something about the editors code for firefox. This was tested in another online editor using firefox an that editor did not put the random &nbsp; in the code. It did do the bump up to the left thing which is not the problem. Extra code is.
     
    I purchased a Redistribution license to use the editor for my product so i would like support for it from the creators of the editor. Why is it so hard to get someone that works at the company to answer my question?
     
    We are investigating this issue and will find a solution soon.
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML