[Building Sakai] CKEditor causing internal scroll bars

Adrian Fish adrian.r.fish at gmail.com
Fri Aug 31 08:52:33 PDT 2012


Trunk and 2.9.x.

Here's what I did in Clog to wait for CK to load:

CKEDITOR.instances[textarea_id].on('instanceReady',function (e) {
            if(window.frameElement) {
                setMainFrameHeight(window.frameElement.id);
            }
        });

You have to wait for instanceReady and then set the height.

Cheers,
Adrian.

On 31 August 2012 15:37, Liu, Peter <peter.liu at yale.edu> wrote:

> I have seen the same issue with our Sign-up tool.  One of the solution is
> to run the following javascript function with a time-delay of half second
> during the iframe page load:
>  setMainFrameHeight(id);//in library: headscripts.js
>
>
> I think that CKeditor may require more time to load than the previous
> FCKeditor.
>
> -Peter
>
> -----Original Message-----
> From: sakai-dev-bounces at collab.sakaiproject.org [mailto:
> sakai-dev-bounces at collab.sakaiproject.org] On Behalf Of Steve Swinsburg
> Sent: Thursday, August 30, 2012 9:45 PM
> To: Adrian Fish
> Cc: sakai-dev
> Subject: Re: [Building Sakai] CKEditor causing internal scroll bars
>
> Trunk only? Or 2.9/2.8?
>
> Sent from my iPhone
>
> On 31/08/2012, at 1:45, Adrian Fish <adrian.r.fish at gmail.com> wrote:
>
> > Has anybody else seen this?
> >
> > Go into announcements and add a new one. A scrollbar appears in the
> iframe just after CK has finished rendering. Create a new html page in
> resources and the same thing happens. Same in mailsender.
> >
> > Cheers,
> > Adrian.
> > _______________________________________________
> > sakai-dev mailing list
> > sakai-dev at collab.sakaiproject.org
> > http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
> >
> > TO UNSUBSCRIBE: send email to
> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to
> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20120831/8061ce2d/attachment.html 


More information about the sakai-dev mailing list