Try our conversational search powered by Generative AI!

Multiple CSS files in editor - how?

Vote:
 

Hi,

I have the need to specify two css files for the editor. AFAIK, this should be possible, separating each css file with a comma:

uiEditorCssPaths="/king/styles/editor.css,/king/styles/editor-internal.css"

But when I try this, I get the following error:

Värdet på egenskapen uiEditorCssPaths är ogiltigt. Felet är: The string must contain one or more comma-separated application- or host-relative virtual file paths, e.g. '~/folder/some.file, /another.file'.

So, basically the error message tells me to use the format I've used, but won't allow it for some reason (incorrect validation regex?).

What gives?

Reagrds,

/Patrik

#21945
Jul 16, 2008 12:38
Vote:
 
Have you tried with a space after the , ?
#21946
Jul 16, 2008 13:55
Vote:
 
Yes, I've tried both with and without a space. I also tried it with and without a leading tilde for each path. No success.
#21950
Jul 16, 2008 15:13
Vote:
 
Seems to be the second "-" that causes the crash. Remove that and it'll work.
#21951
Edited, Jul 16, 2008 15:58
Vote:
 

Didn't think about testing without the '-' there... Now it works as expected.

Thanks for your help!

#21953
Jul 16, 2008 16:08
Vote:
 

I've filed this as a bug:

#12001 Css files that should be used in UIEditorCssPaths cannot contain hyphens  

#21963
Jul 17, 2008 10:04
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.