Page 1 of 1
FCKeditorX 0.9.9
Posted: Fri Jan 06, 2006 11:40 pm
by megabob3
Please help me
http://dev.cmsmadesimple.org/frs/downlo ... _0_9_9.zip
help me on give the possibility to the user on undestand FCKeditorX admin section.
Really about "styles"
How it works:
From one side we have all CSS setted into CMSMS, for all templates and pages; SET of CSS from CMSMS.
From the other we set into FCKeditorX admin section the custom CSS that we wish see into STYLES TOOLBAR of editor (for all all templates and pages); SET of CSS that we wish.
After the module, while editing a particular page, into DROPDOWN will appear the INTERSECTION of this two SETs of CSSs.
Bye and you want pls post a better explanation

Re: FCKeditorX 0.9.9
Posted: Sat Jan 07, 2006 12:52 am
by westis
Thanks, Bob!
I can't get the styles to work on my local machine (with PHP 5.0.5). However, it is working on a site on a remote host (with an older version of PHP). The styles in the dropdown are not styled, however, they are just displayed the same, regardless of what color, font-size or background-color I have set in the styles.
This is what I did:
1. I copied a style from one of the stylesheets that is attached to the template that the page I'm editing is using. In this case:
.test {color: #fff;}
2. I pasted this style (
.test {color: #fff;}) in the textarea under the Styles tab in the FCKEditorX admin interface (Extensions -> FCKeditorX).
3. I navigated to edit a page that is using the template with the stylesheet from where the style came from. In the dropdown called "Custom style" I get the style called test (that is, on the remote host, on my local computer the dropdown is empty).
Things I noticed:
- ID's do NOT work, only classes. That is, .test {font-size: #ccc;} is working, but not #test {font-size: #ccc;}
- When applying the class to a word or paragraph the style is not shown in the editor. That is, if I apply the test style with the white color (#fff), the text is still black in the editor, although the class is applied correctly on the page. But that can make it difficult for people to know that the style actually has been applied and thinking it wasn't they apply it again, so that the code will be messed up.
- The class from the custom style dropdown box is always inserted with tags, even if it spans over several parapgraphs. That is, the style is not wrapping the selected text in a tag. (Nothing wrong, just good to know).
By the way, the explanation in the Styles tab is very good!
Re: FCKeditorX 0.9.9
Posted: Sat Jan 07, 2006 1:24 am
by westis
A welcome bug fix in FCKeditor 2.2 is this:
"The URLs for links and images are now correctly preserved as entered, no matter if you are using relative or absolute paths." (from the
FCKeditor 2.2 changelog)

Re: FCKeditorX 0.9.9
Posted: Sat Jan 07, 2006 11:04 am
by megabob3
Thx Westis.
About "#test" i know, i will look from next monday.
Bye
