Closed (fixed)
Project:
widgEditor - A WYSIWYG editor
Version:
5.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Feb 2007 at 20:32 UTC
Updated:
18 Dec 2008 at 06:11 UTC
Comments
Comment #1
Gurpartap Singh commentedProbably aggressive mode side effect. You should change to Normal Caching, is feasible.
Comment #2
(not verified) commentedComment #3
tancI'd like to reopen this bug as I can confirm that the stylesheet for the content iframe textarea is not being loaded. This results in the browser displaying the default font (Times) for the textarea. I don't think this has anything to do with aggregating the stylesheet as it affects widgeditor with aggregation turned off (default install setting).
To get around this problem I have edited the widgStylesheet variable to point to the full path of the stylesheet. It would be much better if this was done automatically, but I don't know how in JS.
For example, the original in widgEditor.js:
/* Location of stylesheet file for editor content */
var widgStylesheet = "css/widgContent.css";
My altered version:
/* Location of stylesheet file for editor content */
var widgStylesheet = "/sites/all/modules/widgeditor/scripts/css/widgContent.css";
Any chance of a fix for this? It would be good if the JS could replace the path with something like Drupal's base_path() variable so as to avoid problems if the Drupal installation was not in the root www folder.
Comment #4
tancEdited title to reflect problem
Comment #5
dr00b commentedI can confirm that your change fixes the problem (thanks).
Comment #6
Gurpartap Singh commentedAdded hard-coded
var widgStylesheet = "/sites/all/modules/widgeditor/scripts/css/widgContent.css";to Drupal 5 release.