I've been using HTMLArea for a while. It is able to integrate itself on the webpage using a div instead of an iframe when using IE. (Unfortunately it akways uses iframe for Gecko.)
Having the editor integrate on the webage using div is huge convenience since it then perfectly integrates with the page's CSS rules. Some of the pages I'm using the editor on uses many stylesheets. In addition the sites sometimes changes stylesheet when a new revision for a design is added etc.
Is it possible for FCKeditor to use a div instead of an iframe to integrate on webpages too? Even for Gecko users? If it could it would certainly be the best editor I've come across. Just for that!
Wed, 06/22/2005 - 02:47
#1
RE: Could the editor use div instead of ifram
I could be wrong though.
In any case, a div would be cool, because then it could auto-expand as the content in it grew (no scrollbars!), but I imagion this wouldnt be simple change to implement.
RE: Could the editor use div instead of ifram
However, if the editor would be able to put the contents of the editable field inside a div instead of an iframe, any CSS used in a web page where the editor is used would affect the content of the editor's editable field. And this would be a really good thing as it would make it really really convenient to just the drop the code for the editor anywhere into any web page. The editor's editable field would simply automatically inherit the CSS used for the web page, like any other div (or other) element would.
I guess it would also make it able to grow as the div grows too.
I know this is possible as I've tested it myself using the HTMLArea editor. But this editor would only use a div (if so setup) when used in Internet Explorer. When used in a Gecko browser it fell back to an iframe.
RE: Could the editor use div instead of ifram
ODD>.. as often as this has come up... its has not beeen addressed... or a solution posted...

Would someone find it within their hearts how can someone please post an alternative to using the iframe!!
did anyone get fck editor to work in netscape 7? ??? and ifso.. HOW? (pleast paste code)
Thanks much
RE: Could the editor use div instead of ifram
like @import "yoursite.css"; in the relevant stylesheet so that all your site styles override the FCK.
RE: Could the editor use div instead of iframe?
Great lateral thinking @pdub23
That was just too easy
Thanks.
RE: Could the editor use div instead of ifram