Custom font color in online editor?

Custom font color in online editor?

Tuesday 28 December 2010 11:40:08 am - 2 replies

Author Message

Bayron Guevara

Thursday 30 December 2010 6:59:52 am

You can look up the file extension/ezoe/design/standard/javascript/themes/ez/editor_template.js. This is a custom theme implemented by eZPublish for the TinyMCE's controls. As I see you could use forecolor, forecolorpicker to specific the font color and related to the font size here is fontsizeselect.

I've never used these controls, but you can give them a chance. Place the above identifiers inside a ezoe.ini override, in the param [EditorLayout]Buttons

Web Developer & Modern Philosopher
Visit http://www.laprensa.hn, http://www.diez.hn, http://www.estilo.hn

Peter Keung

Thursday 30 December 2010 9:03:32 am

We've done something in between: a custom tag plus a custom button that pulls up a dialog only for that custom tag.

As for creating a custom button, you can follow the examples of some of the other plugins in extension/ezoe/design/standard/javascript/plugins to create your own plugin containing the button(s) (and then add the new button(s) to [EditorLayout]Buttons that Bayron refers to above).

http://www.mugo.ca
Mugo Web, eZ Partner in Vancouver, Canada

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.