WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 Rich Text Edit in SP2, iDRiS, June 22, 2004
     Re:Rich Text Edit in SP2, Emil A Eklund, June 22, 2004

Subject: Rich Text Edit in SP2 From: iDRiS Date: June 22, 2004

Hello all,
  In Windows XP SP2, there are some new issues with the rich text editor.  Mainly, I was having troubles with loading it with initial content.  I was getting a permission denied error (the WebFX rich text edit page also has the error in SP2).  After some searching, I finally found a solution on MSDN.  Basically all you have to do is modify the code as follows:

Old Code:
                var d = el.frameWindow.document;
                d.designMode = "On";
                d.open();
                d.write(el.value);
                d.close();
New Code:
                var d = el.frameWindow.document;
                d.designMode = "On";
                d = el.frameWindow.document; //to fix in SP2
                d.open();
                d.write(el.value);
                d.close();

 

Hope this saves someone trouble :)

-iDRiS




Reply
Name: 
Email: 
Subject: 

Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.


View All Messages
Back to WebFX