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

Re: [ydn-javascript] SimpleEditor TitleBar

Expand Messages
  • Dav Glass
    Ricardo -- If you specify a toolbar config option, it needs to be a full toolbar config, including the buttons config:
    Message 1 of 2 , Mar 3, 2009
    • 0 Attachment
      Ricardo --

      If you specify a toolbar config option, it needs to be a full toolbar
      config, including the buttons config:
      http://developer.yahoo.com/yui/editor/#toolbar

      To remove the "body" at the bottom, set dompath to false in the config..

      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 Tue, Mar 3, 2009 at 7:49 PM, Ricardo Nastÿffffe1s Acras
      <ricardo@...> wrote:
      > Hi,
      >
      > I want to have a simple editor with custom title and only Bold, Italic and
      > underline buttons.
      >
      > I have this code:
      >
      > var tb = {titlebar: 'test'};
      > var myConfig = {
      > height: '50px',
      > width: '600px',
      > dompath: true,
      > focusAtStart: true,
      > toolbar: tb
      > };
      > var myEditor = new YAHOO.widget.SimpleEditor('bla', myConfig);
      >
      > I get the error: this._buttonList is null
      >
      > How can I customize the title and buttons in my SimpleEdit?
      >
      > Finally, is there a way to get the "body" off the bottom of the component?
      >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.