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

CommentFileSizeAuthor
custom_fckstyles_xml.patch907 bytesharking

Comments

ontwerpwerk’s picture

Status: Reviewed & tested by the community » Needs work

this 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

ontwerpwerk’s picture

Status: Needs work » Fixed

in 5x dev

Anonymous’s picture

Status: Fixed » Closed (fixed)