In the Spotlight
News ReleasesCampus EventsGeneral InfoCPTC Homepage

Tuesday, March 08, 2005

IFrame WYSIWYG Editors

I built a simple JavaScript that turns on an IFrame's edit mode in IE. However after using it for about a year now I have noticed quite a few problems with it.
  • Pasted text from Microsoft Word uses all inline CSS for formatting.
    This is bad because it won't let you reformat it as plain text very easily, you have to manually parse the html and remove the extra code.
  • Relative links are converted to bad literal links.
    Unfortunately if you a link to "/foo.asp" it will add the path to the inline frame instead of the main webpage, e.g. http://www.site.com/wsywgFrame/foo.asp
  • As I'm writing this I am also reminded of another bug/feature. If you type in a full URL in the text it will automagically link it.

If anyone else has had these similar problems or know of any work-arounds, I'd like to hear from you.

Also, if you would like some more information about iFrame DHTML editors please see this Microsoft Site.

Thanks - DrWeb.

3 comments:

Unknown said...
This comment has been removed by a blog administrator.
Anonymous said...

New Comment.

Anonymous said...

I must express [url=http://www.parissaclongchampfr.com]longchamp sac[/url] my love for your generosity giving support to men and

women who really want guidance on that idea. Your personal commitment

to getting the message along was remarkably good and has

in most cases permitted people just like me to get to their desired

goals. longchamp pliage , The warm and friendly

guideline signifies a great deal a person

like me and especially to [url=http://www.parissaclongchampfr.com]sac longchamp pas cher[/url] my [url=http://www.parissaclongchampfr.com]longchamp sac[/url] office colleagues. Regards; from each one of us.