#3419: Paste button not available after SetData function
--------------------------+-------------------------------------------------
 Reporter:  ambio         |       Owner:                 
     Type:  Bug           |      Status:  new            
 Priority:  High          |   Milestone:                 
Component:  UI : Toolbar  |     Version:  FCKeditor 2.6.4
 Keywords:                |  
--------------------------+-------------------------------------------------
 Hi,

 After calling the SetData function, the paste buttons are not enabled (my
 clipboard has data) in internet explorer (tested in IE7). Other browser
 does not have this problem. How can I solve this problem?

 Here is the code of my test:


 {{{
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
 <html xmlns="http://www.w3.org/1999/xhtml";>

 <head runat="server">
     <title></title>
     <script type="text/javascript"
 src="/fckeditorLatestBuild/fckeditor.js"></script>
     <script type="text/javascript">
         window.onload = function() {
             var oFCKeditor1 = new FCKeditor('MyTextarea1');
             oFCKeditor1.BasePath = "/fckeditorLatestBuild/";
             oFCKeditor1.ReplaceTextarea();
             setTimeout("myClick()",5000);
         }

         function myClick() {
                 var oEditor = FCKeditorAPI.GetInstance('MyTextarea1');
                 oEditor.SetData("<p>hello world</p>");
                 oEditor.Focus();
         }
     </script>
 </head>

 <body>
     <form id="form1"">
     <div>
           <textarea id="MyTextarea1" name="MyTextarea"></textarea>
     </div>
     </form>
 </body>
 </html>

 }}}


 Thanks in advance!

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/3419>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to