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

Skinning Problem

Expand Messages
  • Dale Burrell
    Hi All, Just started using the YUI Rich Text Editor and have come across a couple of problems that I am hoping someone can help me with. Firstly, the
    Message 1 of 4 , Mar 2, 2008
    • 0 Attachment
      Hi All,

      Just started using the YUI Rich Text Editor and have come across a couple of problems that I am hoping someone can help me with.

      Firstly, the documentation all says that you can either apply class="yui-skin-sam" to the parent of the text tag or to the body tag. However when I tried adding it to the parent DIV none of the dialog boxes worked e.g. the insert image, add link etc. So I ended up having to add class="yui-skin-sam" to the body tag.

      Is this a bug or is there a way around it?

      Secondly the Font list and the Style list display the current font/style bottom aligned as opposed to middle aligned as is shown on the Yahoo examples. I'm made an extremely simple page to test this and it still does it even in the absence of any other style on the page.

      Any ideas on how to fix?

      Thirdly when using the Font list and the Style list to change the font/style of a piece of text, while it makes the change, the currently selected font/style is reset to the old font/style as soon as it makes the change. Yet if I move the cursor off that bit of text and back on again it gets it right.

      Is this a bug?

      Cheers,

      Dale

      Send instant messages to your online friends http://au.messenger.yahoo.com
    • Dav Glass
      Dale -- 1. In order to skin the popup dialogs, you have to place the yui-skin-sam class on the body. The Editor popups are actually Overlay Controls that are
      Message 2 of 4 , Mar 2, 2008
      • 0 Attachment
        Dale --

        1. In order to skin the popup dialogs, you have to place the yui-skin-sam class on the body. The Editor popups are actually Overlay Controls that are rendered to the body of the page.
            Since they are in the page, the yui-skin-sam class needs to be above it..

        For 2 and 3, can you post a link so that I can see the issue in action?

        Thanks
        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: Dale Burrell <dale_burrell@...>
        To: ydn-javascript@yahoogroups.com
        Sent: Sunday, March 2, 2008 8:22:44 PM
        Subject: [ydn-javascript] Skinning Problem

        Hi All,

        Just started using the YUI Rich Text Editor and have come across a couple of problems that I am hoping someone can help me with.

        Firstly, the documentation all says that you can either apply class="yui-skin-sam" to the parent of the text tag or to the body tag. However when I tried adding it to the parent DIV none of the dialog boxes worked e.g. the insert image, add link etc. So I ended up having to add class="yui-skin-sam" to the body tag.

        Is this a bug or is there a way around it?

        Secondly the Font list and the Style list display the current font/style bottom aligned as opposed to middle aligned as is shown on the Yahoo examples. I'm made an extremely simple page to test this and it still does it even in the absence of any other style on the page.

        Any ideas on how to fix?

        Thirdly when using the Font list and the Style list to change the font/style of a piece of text, while it makes the change, the currently selected font/style is reset to the old font/style as soon as it makes the change. Yet if I move the cursor off that bit of text and back on again it gets it right.

        Is this a bug?

        Cheers,

        Dale

        Send instant messages to your online friends http://au.messenger.yahoo.com

      • Dale Burrell
        ** Sorry if this is a double post... but I never received a copy of this email so I assume it got lost somewhere Hi All, Just started using the YUI Rich Text
        Message 3 of 4 , Mar 3, 2008
        • 0 Attachment
          ** Sorry if this is a double post... but I never received a copy of this email so I assume it got lost somewhere

          Hi All,

          Just started using the YUI Rich Text Editor and have come across a couple of problems that I am hoping someone can help me with.

          Firstly, the documentation all says that you can either apply class="yui-skin-sam" to the parent of the text tag or to the body tag. However when I tried adding it to the parent DIV none of the dialog boxes worked e.g. the insert image, add link etc. So I ended up having to add class="yui-skin-sam" to the body tag.

          Is this a bug or is there a way around it?

          Secondly the Font list and the Style list display the current font/style bottom aligned as opposed to middle aligned as is shown on the Yahoo examples. I'm made an extremely simple page to test this and it still does it even in the absence of any other style on the page.

          Any ideas on how to fix?

          Thirdly when using the Font list and the Style list to change the font/style of a piece of text, while it makes the change, the currently selected font/style is reset to the old font/style as soon as it makes the change. Yet if I move the cursor off that bit of text and back on again it gets it right.

          Is this a bug?

          Cheers,

          Dale


          Send instant messages to your online friends http://au.messenger.yahoo.com
        • Dav Glass
          Dale -- 1. In order to skin the popup dialogs, you have to placethe yui-skin-sam class on the body. The Editor popups are actuallyOverlay Controls that are
          Message 4 of 4 , Mar 4, 2008
          • 0 Attachment
            Dale --

            1. In order to skin the popup dialogs, you have to place the yui-skin-sam class on the body. The Editor popups are actually Overlay Controls that are rendered to the body of the page.
                Since they are in the page, the yui-skin-sam class needs to be above it..

            For 2 and 3, can you post a link so that I can see the issue in action?

            Thanks
            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: Dale Burrell <dale_burrell@...>
            To: ydn-javascript@yahoogroups.com
            Sent: Monday, March 3, 2008 9:56:00 PM
            Subject: [ydn-javascript] RE: Skinning Problem

            ** Sorry if this is a double post... but I never received a copy of this email so I assume it got lost somewhere

            Hi All,

            Just started using the YUI Rich Text Editor and have come across a couple of problems that I am hoping someone can help me with.

            Firstly, the documentation all says that you can either apply class="yui-skin-sam" to the parent of the text tag or to the body tag. However when I tried adding it to the parent DIV none of the dialog boxes worked e.g. the insert image, add link etc. So I ended up having to add class="yui-skin-sam" to the body tag.

            Is this a bug or is there a way around it?

            Secondly the Font list and the Style list display the current font/style bottom aligned as opposed to middle aligned as is shown on the Yahoo examples. I'm made an extremely simple page to test this and it still does it even in the absence of any other style on the page.

            Any ideas on how to fix?

            Thirdly when using the Font list and the Style list to change the font/style of a piece of text, while it makes the change, the currently selected font/style is reset to the old font/style as soon as it makes the change. Yet if I move the cursor off that bit of text and back on again it gets it right.

            Is this a bug?

            Cheers,

            Dale


            Send instant messages to your online friends http://au.messenger.yahoo.com

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