2

I would like to install a Redactor plugin (http://imperavi.com/redactor/plugins/font-color/)

I placed the fontcolor.js into craft/app/ressources/lib/redactor/plugins and added
buttons: ['fontcolor', 'backcolor'] plugins: ['fontcolor'] to my redactor json config file. but without success.

Am I missing something ?

Thanks a lot,

Antoine

3

If this is still required I've built a plugin, Redactor Extras: https://github.com/elliotlewis/Redactor-Extras

You can add your own JS via the Plugin. I'm updating and adding plugins from Redactors site regularly. I'll add font-color next. But good use with your own code.

2

You have to add the JS with a Craft plugin, either a custom one making use of includeJsResource (see this answer for code example) or with the Control Panel JS plugin.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.