Re: Call to Paste, PasteText and Pasteword insert action name, not content

  •  12-28-2006, 10:55 PM

    Re: Call to Paste, PasteText and Pasteword insert action name, not content

    You are not addressing the problem...
     
    I am trying to paste information contained in clipboard into the editor.
     
    How can I use PasteHTML to paste from clipboard?
     
    Please read what I said:
     

     
    cuteEditor1.ExecCommand("PasteText",false,"PasteText");
     
    Inserts the word "PasteText" in the body of the editor.
     
    If I click the Paste plain text button on the toolbar, the correct content is inserted.
     
    The same thing applies to Paste and PasteWord.
     

    I need to paste Word and other memorized information into the editor and I would like to use the proper functions. Those functions are described in your documentation as: Paste, PasteText and PasteWord. Your documentation also says the proper way to call them is to use the ExecCommand function.
     
    I ask again: why does clicking the buttons on the toolbar perform the function properly but when I use the ExecCommand function, they don't?
     
     
View Complete Thread