Hi Jeff,

Thank you for that, it is very obvious now as a way to fix my issue
without changing the core....doh! :)

Often the simple answers are the best.

Thanks again.

Cheers
Mark



On May 15, 8:29 am, Jeff Coughlin <[EMAIL PROTECTED]> wrote:
> > I'm trying to modify TinyMCE so that the "Indent" button inserts
> > either a span with a class (or div/class) rather than <blockquote>.
>
> > I already have a richtext.cfc file that extends the RTE for other
> > config changes and this works fine.  However I can't see how to over
> > ride the functionality of a button.
>
> > I know I can modify the function in the core, but we run a number of
> > sites off this core and so I don't want to change anything that will
> > impact on other sites.  I've also thought about writing a custom
> > plugin for TinyMCE, but this feels like I'm going the long way around.
>
> > Does anyone know how to override a built in function in Tiny?
>
> Mark,
>
> I had a similar problem a couple years ago where I wanted my content  
> editors to be able to use blockquote, but didn't want to offer an  
> invalid "indent" button (since blockquote has nothing to do with  
> indenting (which is a styling feature)).  So, I simply modified the  
> TinyMCE configuration file and did the following:
> * removed the indent buttons
> * added blockquote to the dropdown list
>
> In your case you might want to do something like:
> a. You can remove the invalid indent buttons
> b. You can add as many element tags to the dropdown as you want  
> (including span and div)
>
> All of the info on how to modify the TinyMCE config is available in  
> their online docs.
>
> Regards,
>
> --
> Jeff Coughlin
> Web Application Developerhttp://jeffcoughlin.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to