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

Disregard a font and background colors in th

Expand Messages
  • papiyamisra
    I have a requirement where the users want to restrict any colored text from getting submitted through the editor. Any font-color should get converted to black
    Message 1 of 2 , Sep 30, 2008
    • 0 Attachment
      I have a requirement where the users want to restrict any colored text
      from getting submitted through the editor. Any font-color should get
      converted to black and any background colors should get converted to
      white.
      Is there anything in the editor config or in the api that lets me do
      this without actually writing code to parse the inputted text.
      Thanks
      Papiya
    • Dav Glass
      papiyamisra -- There is no default config for that, however you should probably filter out all unwanted styles on the server side. Dav Dav Glass
      Message 2 of 2 , Sep 30, 2008
      • 0 Attachment
        papiyamisra --

        There is no default config for that, however you should probably filter out all unwanted styles on the server side.

        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: papiyamisra <papiyamisra@...>
        > To: ydn-javascript@yahoogroups.com
        > Sent: Tuesday, September 30, 2008 3:15:01 PM
        > Subject: [ydn-javascript] Disregard a font and background colors in th
        >
        > I have a requirement where the users want to restrict any colored text
        > from getting submitted through the editor. Any font-color should get
        > converted to black and any background colors should get converted to
        > white.
        > Is there anything in the editor config or in the api that lets me do
        > this without actually writing code to parse the inputted text.
        > Thanks
        > Papiya
        >
        >
        > ------------------------------------
        >
        > Yahoo! Groups Links
        >
        >
        >
      Your message has been successfully submitted and would be delivered to recipients shortly.