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.

Tuesday, March 01, 2005

Hello Everyone....

Hi, this is my first post. I am a web developer currently working for a Community College. I will continue to post back as I test out my new bloggspot. So look for updates shortly.

Thanks - DrWeb