Ticket #6449 (closed defect: fixed)
RichText.js does not work with XD loading
| Reported by: | jburke | Owned by: | jburke |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.1.1 |
| Component: | Editor | Version: | 1.1.0 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
It looks like there was an iframe URL re-introduced in RichText?.js that is used in the IE, Safari and Opera case (line 333). This was done in r13138.
Need to ask Alex why an URL was used instead of the javascript:void that was there before.
If the URL to a real file is needed, then we'll need to reintroduce allowing a djConfig option to set the local path to the page, so we can provide a local path in the XD case. Change line 332 to something like:
if(dojo.config["useXDomain"] && !dojo.config["dojoBlankHtmlUrl"]){
console.debug("dijit._editor.RichText: When using cross-domain Dojo builds,"
+ " please save dojo/resources/blank.html to your domain and set djConfig.dojoBlankHtmlUrl"
+ " to the path on your domain to blank.html");
}
var burl = dojo.config["dojoBlankHtmlUrl"] || (dojo.moduleUrl("dojo", "resources/blank.html")+"");
But ideally we would not need this djConfig switch.
Change History
Note: See
TracTickets for help on using
tickets.