Loading ...
Sorry, an error occurred while loading the content.
 

Re: how to change the default font size?

Expand Messages
  • raduflorincojocaru
    It does help. It s exactly what I needed. Thanks, Radu ... CSS size
    Message 1 of 3 , Feb 6, 2009
      It does help. It's exactly what I needed.

      Thanks,
      Radu

      --- In ydn-javascript@yahoogroups.com, Dav Glass <davglass@...> wrote:
      >
      > raduflorincojocaru --
      >
      > After you set the fontsize in the toolbar you also need to set the
      CSS size
      > attribute on the body of the Editor:
      >
      > myEditor = new YAHOO.widget.Editor('editor', {
      > extracss: 'body { font-size: 14px; }',
      > });
      >
      > Does that help?
      > Dav
      >
      > --
      > Dav Glass
      > davglass@...
      > blog.davglass.com
      >
      >
      > + Windows: n. - The most successful computer virus, ever. +
      > + A computer without a Microsoft operating system is like a dog
      > without bricks tied to its head +
      > + A Microsoft Certified Systems Engineer is to computing what a
      > McDonalds Certified Food Specialist is to fine cuisine +
      >
      >
      > On Fri, Feb 6, 2009 at 7:35 AM, raduflorincojocaru <
      > raduflorincojocaru@...> wrote:
      >
      > > Default font size for the yui editor is 13. I want to change it
      in here:
      > >
      > > { type: 'spin', label: '14', value: 'fontsize', range: [ 10, 75 ],
      > > disabled: false }
      > >
      > > but it has no effect.
      > >
      > > Actually it shows 14 for a second (while the editor is loading). When
      > > it finished loading it goes back to 13.
      > >
      > >
      > >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.