[wp-hackers] TinyMCE Wordpress Plugin CSS File
Ryan Fitzer
ryanfitzer at gmail.com
Thu Mar 22 16:24:19 GMT 2007
Thanks Andy, that's what I was looking for.
Ryan
On 3/22/07, Andy Skelton <skeltoac at gmail.com> wrote:
>
> On 3/22/07, Ryan Fitzer <ryanfitzer at gmail.com> wrote:
> > Anyone know a way (hook) to add CSS to the WordPress Plugin's CSS file (
> > wordpress.css) via a plugin? Now that the dropdown comes as an easter
> egg I
> > want to be able to add the css with a plugin rather than replacing the
> file
> > after every upgrade.
>
> Anything you want to add to TinyMCE should be added via one of the
> hooks/filters in tiny_mce_config.php. Use the mce_css filter to
> replace wordpress.css or use tinymce_before_init to echo some of your
> own javascript which will execute prior to tinyMCE.init.
>
> The latter method is the most powerful. You can replace any tinyMCE
> function with your own code.
>
> Andy
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
--
Ryan Fitzer
Dallas, TX
http://www.ryanfitzer.com
More information about the wp-hackers
mailing list