Log in or register to post comments
Last post
Can't use "Format" or "Style" dropdown menu
Hi.
I have this problem.
I can't use the "Style" or "Format" menu.
If i select some text and apply (i.e.) Heading 1 Format, nothing happens. The same with the "Style" dropdown menu.
The only thing that "Style" works with is the table. I waas able to make an entire table looks like the selected "Style" (i.e. "Blue Title"), but not the single cell.

It seems that other people have this same problems.

Do you know why?

P.S. the same problem happens on the http://www.fredck.com/fckeditor/demo/ editor
If i add manually the "class" tag i can see the result on screen.
RE: Can't use "Format" or "Style" dropdown m
P.P.S

I use IE 6

Thanx for the great work.
Mogan
RE: Can't use "Format" or "Style" dropdown m
I know why.
I bet you are not using an english version of the browser... isn't it?
If so I'll explain how you can fix the problem. Bye.
RE: Can't use "Format" or "Style" dropdown m
The format option, unfortunately, depends on the client IE language for the list of available commands. It works only on English IE browsers until version 0.9.5. The problem was solved and will be available on the next version of the editor (0.9.6).

Ill verify the Style command problem. It is the first time this problem is reported.

Thanks,
FredCK

Frederico Knabben
Project Lead for CKEditor
CEO at CKSource

RE: Can't use "Format" or "Style" dropdown m
The problem for Style is the same of Format... it uses "Normal" to reset the style... I've had to change this with "Normale" for my italian version.
RE: Can't use "Format" or "Style" dropdown m
Yes, i'm using the italian version of IE 6 on Windows Xp Pro ita.
I read the Poison00 post and will try the solution he proposed. If won't work I'll be waiting for 0.9.6 beta ;)

### just for italian guys ####
Franco che mi consigli? :D
########################

Thanks.
Mogan
RE: Can't use "Format" or "Style" dropdown m
You have to make 2 changes. The first is in the fck_actions.js, in the function doFormatBlock; you have to change the string "Normal" to "Normale".
Then in fck_config.js you have to change the value of the property "config.BlockFormatNames" to ';Normale;Titolo 1;Titolo 2;Titolo 3;Titolo 4;Titolo 5;Titolo 6;Formattato;Indirizzo'.
Those values have meaning only for the italian version of the browser and I've not been able to discover all the correspondants.
If you need more help, let me know.
Bye.
RE: Can't use "Format" or "Style" dropdown m
with all these changes for languages, would it not be good to look at the structure as a whole and have a different .js file for each language, that way users such as ponticelli, can create an italian version and others...

John
RE: Can't use "Format" or "Style" dropdown m
Ok... it works on Italian browsers.... ONLY.

It's better to wait for version 0.9.6... I'll accellerate it's release.

Thanks,
FredCK

Frederico Knabben
Project Lead for CKEditor
CEO at CKSource

RE: Can't use "Format" or "Style" dropdown m
Of course it is absolutely localized...
RE: Can't use "Format" or "Style" dropdown m
Ok. thnaks for help. Now everything is working fine .... ;) except one thing.

I changed the function doStyle(command) the way you said me. But i used to change also the "config.StyleNames" and "config.StyleValues" lines in fck_config.js file.
That's way i use my own styles (added in fck_editorarea.css file).
They work great, but i can't see the style name in the style dropdown menu. It remains blank.
It's not a big fault, maybe the 0.9.6 release will solve this. But i'd like to know if also Ponticelli has this problem (and if he has a solution too ;).

Thanks
Mogan
RE: Can't use "Format" or "Style" dropdown m
Yes, but it's not a problem, it's a functionality that has not been implemented at all (or yet). I suppose that is hard to say which style has to be shown on such field due to their nested nature.
RE: Can't use "Format" or "Style" dropdown m
Good answer Franco... you cought it ;)

Saluti,
FredCK

Frederico Knabben
Project Lead for CKEditor
CEO at CKSource