Needs review
Project:
Wysiwyg
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Sep 2010 at 22:01 UTC
Updated:
27 Jun 2011 at 08:20 UTC
Jump to comment: Most recent file
There are problems with Editor CSS: and CSS path: settings.
First - style sheets with minus sign in file name are ignored (two files with same content - test.css works, html-reset.css don't work). I don't want to change filenames, because those are set in Zen theme and I want to keep original structure in tact.
Second - something is overriding css files I set in CSS path: - my css file has clear definitions on color of element but in editor they are overriden with default blue underlined style.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | wysiwyg.master.stylesheets.901862.8.patch | 4.49 KB | twod |
Comments
Comment #1
henrijs.seso commenteda element is overriden in second problem.
With TinyMCE there is no First problem, second still there.
Comment #2
twodWhich editor are you using?
Which setting under "Editor CSS" are you using?
What does your style rules used to set the element (links?) color look like?
Comment #3
henrijs.seso commentedok, second problem is firefox bug (http://tinymce.moxiecode.com/punbb/viewtopic.php?id=10601)
first problem so far...
works with tinymce, fails with others, ckeditor for sure. minus sign in file name triggers bug.
Editor CSS: Define CSS
CSS path: %b%t/css/html-reset.css,%b%t/css/warm.css (same with replacement patterns and full URLs)
Comment #4
twodOk, thanks. I'll look into this when I have some time. Our editor implementations don't do any processing which target or affect minus signs for those settings that I'm aware of so this is probably going to take some time to track down.
Comment #5
sunComment #6
twodI spent some time testing/investigating this tonight, using the settings from #3, and here are the results:
cssFileisn't set.Comment #7
sunComment #8
twodThis should improve the situation for openWysiwyg and Whizzywig, allowing them to use multiple stylesheets in their iframes.
I haven't tested all the Whizzywig versions yet, only 61.
It would be possible to inject the Drupal theme's stylesheets into WYMeditor's iframe as well, but give that it doesn't aim to be a WYSIWYG editor I don't think that's the right thing to do. Probably better to just make use of the "Define CSS" option.
Comment #9
pillarsdotnet commented