Login Register

Getting dijit.Editor to work on IE from CDN

Hello!

This is my first message here but read many threads in during the dojo leaning process, so I'd like to thank the developers and the community for their work! ;-)

Now the issue: I managed to make the dijit.Editor load properly, however under IE it doesn't fetch the content correctly, and the control has blank content, while on FF it works excellent. I tried many combinations but with the very same effect. However, if I change the dojo loading source from CDN to my host, it works on IE as well.

After some research, I realized this is a frame permission issue and after more digging found the following in the old Book of Dojo:

dojo.widget.Editor2, dojo.widget.Editor, dojo.widget.RichText

    * Save richtextframe.html to your local server and set djConfig.dojoRichTextFrameUrl to the location of that file.

- and -

dojo.io.createIFrame()

    * Save iframe_history.html to your local server and set djConfig.dojoIframeHistoryUrl to the location of that file.

However, it appears in dojo 1.1.0 this doesn't work. Tried to set these configuration variables but nothing happens.

Which way should be used in dojo 1.x to set a frame on the same domain, so even IE can have access to it?

Many thanks!

dijit.Editor over CDN - IE problems

Any opinions on my problem?

Thanks.

Oops, sorry, I meant to

Oops, sorry, I meant to update this thread: I updated the documentation in the current book of Dojo. It now lists the modules that require extra djConfig parameters:
http://dojotoolkit.org/book/dojo-book-0-9/part-4-meta-dojo/package-syste...

Unfortunately there is a bug in the Dojo 1.1.0 release for dijit.Editor where it is not using the djConfig option for the xdomain loading cases. This has been fixed for Dojo 1.1.1 and later releases.

could be this bug

http://trac.dojotoolkit.org/ticket/6449

Look for 1.1.1, coming soon to a cached node near you.

Yes!

Thanks jburke & peller!

That's it, one question though: I cannot seem to find a downloadable snapshot of 1.1.1, can you help?

Also it seems AOL's CDN doesn't host nightly builds for XD.

Thanks again.

Dojo 1.1.1 has not been

Dojo 1.1.1 has not been released yet, hopefully in the next couple of days. The AOL CDN only hosts release builds of Dojo.