bd9000
asked on
FCKEditor stylesheet EditorAreaCSS function does not point to stylesheet
Is it possible in FCKEditor to reference the SAME stylesheet the website is using?
If so, HOW?
The manual says to change the FCKeditor1.EditorAreaCSS = 'pathtoyourstylesheet' in the javascript config file, but that has no effect.
Clearing the cache, using different browsers, etc, has no effect either.
I've also tried putting my stylesheet in the same folder '/editor/css' and that has no effect either.
The version is 2.6.6 (the last version of the free editor)
All I want to do is have the user be able to see their output using the same styles as the web page (from a stylesheet NOT inline styles).
for example: <div class="headline">Blah</div > should pick up the CSS class "headline" and apply the style in the FCKEditor.
Stumped here.
If so, HOW?
The manual says to change the FCKeditor1.EditorAreaCSS = 'pathtoyourstylesheet' in the javascript config file, but that has no effect.
Clearing the cache, using different browsers, etc, has no effect either.
I've also tried putting my stylesheet in the same folder '/editor/css' and that has no effect either.
The version is 2.6.6 (the last version of the free editor)
All I want to do is have the user be able to see their output using the same styles as the web page (from a stylesheet NOT inline styles).
for example: <div class="headline">Blah</div
Stumped here.
ASKER
I removed the original and renamed the new one to "fck_editorarea.css" (in the same folder - nothing moved)
still no luck.
It's not even using the "fck_editorarea.css" file.
Looks like that feature is no longer supported (to force us to buy CKEditor - which I won't buy until I get this puppy to work)
still no luck.
It's not even using the "fck_editorarea.css" file.
Looks like that feature is no longer supported (to force us to buy CKEditor - which I won't buy until I get this puppy to work)
ASKER
I just tried deleting the fck_editorarea.css file. Cleared the cache. No errors in the javascript. It doesn't use that file at all.
Anyone know of an editor (that won't conflict with MS AJAX or jquery) that has this ability? Preferably free, but money is no concern if it actually works.
Anyone know of an editor (that won't conflict with MS AJAX or jquery) that has this ability? Preferably free, but money is no concern if it actually works.
Tinymce?
ASKER
Yeah, I'm thinking of giving TinyMCE a try. But the only problem it they have no ASP.Net integration - so that's another week long project to monkey around with (making it work w/MS AJAX was a nightmare 2 years ago)
I've set it up with c# with code behind before now
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
answered it myself
Assume this is the page you are going by:
http://docs.cksource.com/FCKeditor_2.x/Developers_Guide/Configuration/Configuration_Options/EditorAreaCSS