Move TinyMCE into resource://
This fixes CSS in popups and probably other things.
|
@ -349,11 +349,7 @@
|
||||||
|
|
||||||
var ios = Components.classes["@mozilla.org/network/io-service;1"].
|
var ios = Components.classes["@mozilla.org/network/io-service;1"].
|
||||||
getService(Components.interfaces.nsIIOService);
|
getService(Components.interfaces.nsIIOService);
|
||||||
var uri = ios.newURI("chrome://zotero/content/tinymce/" + htmlFile + ".html", null, null);
|
var uri = ios.newURI("resource://zotero/tinymce/" + htmlFile + ".html", null, null);
|
||||||
|
|
||||||
var cr = Components.classes["@mozilla.org/chrome/chrome-registry;1"]
|
|
||||||
.getService(Components.interfaces.nsIChromeRegistry);
|
|
||||||
uri = cr.convertChromeURL(uri);
|
|
||||||
|
|
||||||
// Pass directionality (LTR/RTL) in URL
|
// Pass directionality (LTR/RTL) in URL
|
||||||
uri.spec += "?dir=" + Zotero.dir;
|
uri.spec += "?dir=" + Zotero.dir;
|
||||||
|
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 64 B After Width: | Height: | Size: 64 B |
Before Width: | Height: | Size: 68 B After Width: | Height: | Size: 68 B |
Before Width: | Height: | Size: 70 B After Width: | Height: | Size: 70 B |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |