When developing a site, some clients may want to customize the available styles. Normally you would be required to hard code the location of the style into the FCK configuration.
Sticking with the convention over configuration theme, here is a patch that will serve up a fck style xml document from the root of the current theme, if it exists. Otherwise, it will use what is specified in the configuration file.
Tested working with FCKEditor 2.4.1 and FCKEditor module 5.x-1.1
| Comment | File | Size | Author |
|---|---|---|---|
| custom_fckstyles_xml.patch | 907 bytes | harking |
Comments
Comment #1
ontwerpwerk commentedthis specificcode will not work anymore when the FCKeditor will be invoked differently..
but the idea is sound.
I hope I'll get back to it the coming week
Comment #2
ontwerpwerk commentedin 5x dev
Comment #3
(not verified) commented