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

YUI rich editor - hide toolbar at all

Expand Messages
  • andrew.bykov
    Hi! Please clarify me - how I can completely hide the YUI rich edit toolbar, or at least it s buttons panel only? If it s impossible, can I emulate collapse
    Message 1 of 5 , Sep 3, 2007
    • 0 Attachment
      Hi!

      Please clarify me - how I can completely hide the YUI rich edit
      toolbar, or at least it's buttons panel only?

      If it's impossible, can I emulate "collapse" event fire on startup or
      implement other trick to hide toolbar?

      I've tried to call Toolbar.destroy() method, or copy javascript code
      from "toolbarCollapsed" event handler to my handler but this tricks
      doesn't works..

      Thanks!

      Best regards,
      Andrew
    • Gopal Venkatesan
      ... The quick and easy (dirty) way is to add display: none rules to the appropriate yui-toolbar-* CSS classes. -- Gopal Venkatesan
      Message 2 of 5 , Sep 3, 2007
      • 0 Attachment
        On Mon, Sep 03, 2007 at 09:08:17AM -0000, andrew.bykov wrote:
        > Hi!
        >
        > Please clarify me - how I can completely hide the YUI rich edit
        > toolbar, or at least it's buttons panel only?
        >
        > If it's impossible, can I emulate "collapse" event fire on startup or
        > implement other trick to hide toolbar?
        >
        > I've tried to call Toolbar.destroy() method, or copy javascript code
        > from "toolbarCollapsed" event handler to my handler but this tricks
        > doesn't works..
        >

        The quick and easy (dirty) way is to add "display: none" rules to the
        appropriate "yui-toolbar-*" CSS classes.

        --
        Gopal Venkatesan

        http://gopalarathnam.com/weblog/
      • Andrew
        ... startup or ... code ... tricks ... the ... Gopal, Thank you, it works! Best regards, Andrew
        Message 3 of 5 , Sep 3, 2007
        • 0 Attachment
          --- In ydn-javascript@yahoogroups.com, Gopal Venkatesan <gopal@...>
          wrote:
          >
          > On Mon, Sep 03, 2007 at 09:08:17AM -0000, andrew.bykov wrote:
          > > Hi!
          > >
          > > Please clarify me - how I can completely hide the YUI rich edit
          > > toolbar, or at least it's buttons panel only?
          > >
          > > If it's impossible, can I emulate "collapse" event fire on
          startup or
          > > implement other trick to hide toolbar?
          > >
          > > I've tried to call Toolbar.destroy() method, or copy javascript
          code
          > > from "toolbarCollapsed" event handler to my handler but this
          tricks
          > > doesn't works..
          > >
          >
          > The quick and easy (dirty) way is to add "display: none" rules to
          the
          > appropriate "yui-toolbar-*" CSS classes.
          >
          > --
          > Gopal Venkatesan
          >
          > http://gopalarathnam.com/weblog/
          >

          Gopal,

          Thank you, it works!

          Best regards,
          Andrew
        • mattesid
          THis seems to be the thread where I might find an answer. Is it possible to have an external toolbar, that can act on any active text area on the page?
          Message 4 of 5 , Sep 3, 2007
          • 0 Attachment
            THis seems to be the thread where I might find an answer.

            Is it possible to have an external toolbar, that can act on any
            active text area on the page?
          • dav.glass@yahoo.com
            mattesid -- Currently there is no support for having only one toolbar controlling several editor areas.. Feel free to put in a feature request for it here:
            Message 5 of 5 , Sep 3, 2007
            • 0 Attachment
              mattesid --

              Currently there is no support for having only one toolbar controlling several editor areas..

              Feel free to put in a feature request for it here:
              http://developer.yahoo.com/yui/editor/#filingbugs

              Dav
               
              Dav Glass
              dav.glass@...
              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 +


              ----- Original Message ----
              From: mattesid <mrnoblestone@...>
              To: ydn-javascript@yahoogroups.com
              Sent: Monday, September 3, 2007 2:04:05 PM
              Subject: [ydn-javascript] Re: YUI rich editor - hide toolbar at all

              THis seems to be the thread where I might find an answer.

              Is it possible to have an external toolbar, that can act on any
              active text area on the page?


            Your message has been successfully submitted and would be delivered to recipients shortly.