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

RTE Style

Expand Messages
  • Dale Burrell
    Hi, I want to set the style of the edited content to be the same as it will be when its later displayed. I notice that there is a configuration attribute css
    Message 1 of 4 , Apr 1, 2008
    • 0 Attachment
      Hi,

      I want to set the style of the edited content to be the same as it will be when its later displayed. I notice that there is a configuration attribute 'css' which can be populated as a string - is there any way to provide a link to a css file instead of a string?

      Cheers,

      Dale



      Send instant messages to your online friends http://au.messenger.yahoo.com
    • Dav Glass
      Dale -- You should use the extracss config option if you want to add a simple string of CSS. You can use this example to load a css file into the Editor:
      Message 2 of 4 , Apr 1, 2008
      • 0 Attachment
        Dale --

        You should use the extracss config option if you want to add a simple string of CSS.

        You can use this example to load a css file into the Editor:
        http://blog.davglass.com/files/yui/editor30/

        Hope that helps :)
        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: Tuesday, April 1, 2008 5:55:34 PM
        Subject: [ydn-javascript] RTE Style

        Hi,

        I want to set the style of the edited content to be the same as it will be when its later displayed. I notice that there is a configuration attribute 'css' which can be populated as a string - is there any way to provide a link to a css file instead of a string?

        Cheers,

        Dale



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

        ------------------------------------

        Yahoo! Groups Links
      • Dale Burrell
        Thanks - that makes sense. In the meantime I solved it by setting the configuration attribute html using the default and adding my style link - are there any
        Message 3 of 4 , Apr 1, 2008
        • 0 Attachment
          Thanks - that makes sense.

          In the meantime I solved it by setting the configuration attribute 'html' using the default and adding my style link - are there any problems with doing it this way?

          Cheers,

          Dale

          ----- Original Message ----
          From: Dav Glass <dav.glass@...>
          To: ydn-javascript@yahoogroups.com
          Sent: Wednesday, 2 April, 2008 4:26:18 PM
          Subject: Re: [ydn-javascript] RTE Style

          Dale --

          You should use the extracss config option if you want to add a simple string of CSS.

          You can use this example to load a css file into the Editor:
          http://blog. davglass. com/files/ yui/editor30/

          Hope that helps :)
          Dav

          Dav Glass
          dav.glass@yahoo. com
          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@ yahoo.com>
          To: ydn-javascript@ yahoogroups. com
          Sent: Tuesday, April 1, 2008 5:55:34 PM
          Subject: [ydn-javascript] RTE Style

          Hi,

          I want to set the style of the edited content to be the same as it will be when its later displayed. I notice that there is a configuration attribute 'css' which can be populated as a string - is there any way to provide a link to a css file instead of a string?

          Cheers,

          Dale

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

          ------------ --------- --------- ------

          Yahoo! Groups Links



          Send instant messages to your online friends http://au.messenger.yahoo.com
        • Dav Glass
          Dale -- Nope, that is definitely another route, however you just need to make sure that nothing changes between updates to the default HTML ;) Dav Dav Glass
          Message 4 of 4 , Apr 1, 2008
          • 0 Attachment
            Dale --

            Nope, that is definitely another route, however you just need to make sure that nothing changes between updates to the default HTML ;)

            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: Tuesday, April 1, 2008 8:55:54 PM
            Subject: Re: [ydn-javascript] RTE Style

            Thanks - that makes sense.

            In the meantime I solved it by setting the configuration attribute 'html' using the default and adding my style link - are there any problems with doing it this way?

            Cheers,

            Dale

            ----- Original Message ----
            From: Dav Glass <dav.glass@...>
            To: ydn-javascript@yahoogroups.com
            Sent: Wednesday, 2 April, 2008 4:26:18 PM
            Subject: Re: [ydn-javascript] RTE Style

            Dale --

            You should use the extracss config option if you want to add a simple string of CSS.

            You can use this example to load a css file into the Editor:
            http://blog. davglass. com/files/ yui/editor30/

            Hope that helps :)
            Dav

            Dav Glass
            dav.glass@yahoo. com
            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@ yahoo.com>
            To: ydn-javascript@ yahoogroups. com
            Sent: Tuesday, April 1, 2008 5:55:34 PM
            Subject: [ydn-javascript] RTE Style

            Hi,

            I want to set the style of the edited content to be the same as it will be when its later displayed. I notice that there is a configuration attribute 'css' which can be populated as a string - is there any way to provide a link to a css file instead of a string?

            Cheers,

            Dale

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

            ------------ --------- --------- ------

            Yahoo! Groups Links



            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.