Re: Not change font type and font size.

55 views
Skip to first unread message
Message has been deleted

trevorrowe

unread,
Mar 16, 2010, 11:56:38 AM3/16/10
to tinymce_hammer
You probably just need to add the buttons to the menu. I would
recomend heading over to the TinyMCE wiki and reading up on
configuring TinyMCE. A few relevant pages:

http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/theme_advanced_fonts
http://wiki.moxiecode.com/index.php/TinyMCE:Control_reference
http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/theme_advanced_buttons_1_n

Specifically you will need to add the fontselect and fontsizeselect in
one of your button rows.

On Mar 16, 2:40 am, alexander alyoshin <man.without.f...@gmail.com>
wrote:
> # config/initializers/tinymce_hammer.rb
>
> Tinymce::Hammer.init = [
> ....
>   [:theme_advanced_fonts, 'Georgia=georgia,palatino;'],
>   [:theme_advanced_font_sizes, 4],
> ....
> ]
>
> why?

Message has been deleted

trevorrowe

unread,
Mar 16, 2010, 12:05:53 PM3/16/10
to tinymce_hammer
You can read up more on changing the default font here:

http://tinymce.moxiecode.com/punbb/viewtopic.php?id=864

On Mar 16, 9:01 am, alexander alyoshin <man.without.f...@gmail.com>
wrote:
> It's I know, but I want using without add special buttons. I want set
> default font and size.
> I think it's only modify js-file of tinymce.


>
> On Mar 16, 6:56 pm, trevorrowe <trevorr...@gmail.com> wrote:
>
> > You probably just need to add the buttons to the menu.  I would
> > recomend heading over to the TinyMCE wiki and reading up on
> > configuring TinyMCE.  A few relevant pages:
>

> >http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/theme_advan......

Reply all
Reply to author
Forward
Message has been deleted
0 new messages