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

Re: YUI simple editor not showing the changes

Expand Messages
  • Peykan Pezeshki
    Thanks Dav. bold and underline are working but not other features. I set the handleSubmit:true in var myconfig in: http://www.4400payequity.org/form/order6.htm
    Message 1 of 4 , Dec 1, 2008
    • 0 Attachment
      Thanks Dav. bold and underline are working but not other features.

      I set the handleSubmit:true in var myconfig in:
      http://www.4400payequity.org/form/order6.htm

      Now I'm puzzled. I watched your demo, and all should work!?
      Your tip is greatly appreciated...........Peykan.




      --- In ydn-javascript@yahoogroups.com, "Dav Glass" <davglass@...>
      wrote:
      >
      > Peykan --
      >
      > You probably need to set the handleSubmit config option:
      >
      http://developer.yahoo.com/yui/docs/YAHOO.widget.SimpleEditor.html#co
      nfig_handleSubmit
      >
      > 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 Mon, Dec 1, 2008 at 12:08 PM, Peykan Pezeshki <peykanp@...>
      wrote:
      >
      > > I have implemented YUI simple editor to my page at:
      > > http://www.4400payequity.org/form/order7.htm
      > >
      > > process.php as shown below takes the input from the form, but
      > > doesn't show the changes.
      > >
      > > I'm new with YUI. Any help is greatly appreciated.
      > >
      > > <html>
      > > <head><title>Yahoo Editor</title></head>
      > > <body>
      > > <?php
      > > $editor = $_POST['editor'];
      > > echo "$editor";
      > > ?>
      > > </body></html>
      > >
      > > Thanks,
      > > Peykan
      > >
      > >
      > >
      >
    • Dav Glass
      Peykan -- I see this in the output: That means you need to run your response through php s stripslashes method:
      Message 2 of 4 , Dec 1, 2008
      • 0 Attachment
        Peykan --

        I see this in the output:
        <span style=\"font-family: Tahoma;\">

        That means you need to run your response through php's stripslashes method:
        http://us.php.net/stripslashes

        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 Mon, Dec 1, 2008 at 1:08 PM, Peykan Pezeshki <peykanp@...> wrote:

        Thanks Dav. bold and underline are working but not other features.

        I set the handleSubmit:true in var myconfig in:
        http://www.4400payequity.org/form/order6.htm

        Now I'm puzzled. I watched your demo, and all should work!?
        Your tip is greatly appreciated...........Peykan.

        --- In ydn-javascript@yahoogroups.com, "Dav Glass" <davglass@...>
        wrote:


        >
        > Peykan --
        >
        > You probably need to set the handleSubmit config option:
        >
        http://developer.yahoo.com/yui/docs/YAHOO.widget.SimpleEditor.html#co
        nfig_handleSubmit
        >
        > 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 Mon, Dec 1, 2008 at 12:08 PM, Peykan Pezeshki <peykanp@...>
        wrote:
        >
        > > I have implemented YUI simple editor to my page at:
        > > http://www.4400payequity.org/form/order7.htm
        > >
        > > process.php as shown below takes the input from the form, but
        > > doesn't show the changes.
        > >
        > > I'm new with YUI. Any help is greatly appreciated.
        > >
        > > <html>
        > > <head><title>Yahoo Editor</title></head>
        > > <body>
        > > <?php
        > > $editor = $_POST['editor'];
        > > echo "$editor";
        > > ?>
        > > </body></html>
        > >
        > > Thanks,
        > > Peykan
        > >
        > >
        > >
        >


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