Opened 13 years ago
Closed 13 years ago
#6449 closed defect (fixed)
RichText.js does not work with XD loading
Reported by: | James Burke | Owned by: | James Burke |
---|---|---|---|
Priority: | high | Milestone: | 1.1.1 |
Component: | Editor | Version: | 1.1.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
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 (2)
comment:1 Changed 13 years ago by
Owner: | changed from liucougar to James Burke |
---|
comment:2 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
(In [13552]) Fixes #6449. Allow RichText/Editor? to work with xd loading.
Note: See
TracTickets for help on using
tickets.
Going to put in the djConfig switch for 1.1.1.