You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
796 B
Diff
19 lines
796 B
Diff
diff --git a/js/3rdparty/webodf/editor/EditorSession.js b/js/3rdparty/webodf/editor/EditorSession.js
|
|
index dc90ac1..d890a8e 100644
|
|
--- a/js/3rdparty/webodf/editor/EditorSession.js
|
|
+++ b/js/3rdparty/webodf/editor/EditorSession.js
|
|
@@ -39,10 +39,12 @@
|
|
/*global define, runtime, core, gui, ops, document */
|
|
|
|
define("webodf/editor/EditorSession", [
|
|
- "dojo/text!resources/fonts/fonts.css"
|
|
+ "dojo/text!" + OC.filePath('documents', 'css', 'fonts.css')
|
|
], function (fontsCSS) { // fontsCSS is retrieved as a string, using dojo's text retrieval AMD plugin
|
|
"use strict";
|
|
|
|
+ fontsCSS = fontsCSS.replace(/\.\/fonts/g, OC.appswebroots['documents']+'/css/fonts');
|
|
+
|
|
runtime.loadClass("core.DomUtils");
|
|
runtime.loadClass("odf.OdfUtils");
|
|
runtime.loadClass("ops.OdtDocument");
|