If I enter one on my theme's css files, then the editor uses it. But if I enter two (%tcss/style.css,%tcss/ckstyles.css), then I see this in page source:
"contentsCss": [ "/sites/all/modules/ckeditor/ckeditor.css", "/sites/test6/themes/basic/css/style.css,/sites/test6/themes/basic/css/ckstyles.css" ]
See attached full page source.
Notice that my two css files are both inside one set of quotes? Is this why "a list of css files separated by a comma" isn't working for me?
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | ckeditor-662590.patch | 1.05 KB | mephir |
| node-1-edit.txt | 31.45 KB | kendouglass |
Comments
Comment #1
kendouglass commentedAdditional info:
I'm using your latest dev version from here yesterday:
cvs/drupal-contrib/contributions/modules/ckeditor/DRUPAL-6--1
(ckeditor.module revision 1.4.2.3)
And I'm using Drupal 6.14
Comment #2
kendouglass commented.
Comment #3
mephir commentedComment #4
wwalc commentedThere is one litle problem with this patch.
Previously $module_full_path .'/ckeditor.css' was added at the very beginning of the list.
With the attached patch, $conf['css_path'] styles are added first to the array and ckeditor.css is added at the end. ckeditor.css should stay at the beginning as it was before.
In other words, before doing foreach, this should be called:
One extra comment - when looping through all elements it would be nice to call trim() to strip whitespaces just in case someone used them after a comma.
Comment #5
mephir commentedchanges commited to cvs
Comment #7
ademskiadov commentedI want to make a CSS/HTML image gallery. I am trying to emulate the gallery demonstrated on this website:
http://www.dynamicdrive.com/style/csslibrary/item/css-image-gallery/
When I paste the two peices of code (first CSS, then HTML), and save it works! BUT, if you further re-edit the page and subsequently save again, the CSS code is chopped out, and the HTML code is compressed.
How can I tell CKeditor to leave my code alone?
I do not want to have to repeatedly paste the deleted code everytime I edit the page.
Cheers.
Comment #8
ademskiadov commentedComment #9
wwalc commented@ademskiadov - please create a new issue for this problem and give us some sample code with which you have this problem.