http://code.google.com/p/jwysiwyg/

You would need include jquery. Minimalistic editor.

-Ketan

Aneesh S wrote:
> Thanks donkeybob, but i still cant get the entered data.
>
> This is my code ...
>
> <?php echo 
> $form->textarea('Content.content_text',array('cols'=>"75",'rows'=>"20",'id'=>"text234"));?>
>                               <script>
>
>                (function() {
>                    var Dom = YAHOO.util.Dom,
>                        Event = YAHOO.util.Event;
>
>                    var myconfig = {
>                        height: '200px',
>                        width: '550px',
>                        dompath: false,
>                                handleSubmit: false,
>                                autoHeight: true
>                    };
>
>                    var conEditor = new YAHOO.widget.Editor('text234', 
> myconfig);
>                conEditor._defaultToolbar.buttonType = 'basic';
>                conEditor.render();
>
>                })();
>        </script>
>
> On 11/14/08, Aneesh S <[EMAIL PROTECTED]> wrote:
> > thanks for the help.. let me see if it works....
> >
> > On 11/13/08, Donkeybob <[EMAIL PROTECTED]> wrote:
> >>
> >> I use Yahoo Rich Text Editor. I did make sure my script was below the
> >> form tags, so the control would render before the yahoo code. Other
> >> then that . . .no problems
> >>
> >> <?php echo $form->input('content'); ?>
> >> <script>
> >>
> >>            (function() {
> >>                var Dom = YAHOO.util.Dom,
> >>                    Event = YAHOO.util.Event;
> >>
> >>                var myconfig = {
> >>                    height: '200px',
> >>                    width: '550px',
> >>                    dompath: false,
> >>                            handleSubmit: true,
> >>                            autoHeight: true
> >>                };
> >>
> >>                var conEditor = new YAHOO.widget.Editor('Content', 
> >> myconfig);
> >>            conEditor._defaultToolbar.buttonType = 'basic';
> >>            conEditor.render();
> >>
> >>            })();
> >>    </script>
> >>
> >> On Nov 13, 8:28 am, Smelly_Eddie <[EMAIL PROTECTED]> wrote:
> >>> TinyMCE is what you need.
> >>>
> >>> Minimal code to turn any text area into rich editors.
> >>>
> >>> PAsses data normally as post (or whatever method your existing form
> >>> uses)
> >>>
> >>> On Nov 13, 8:04 am, "Aneesh S" <[EMAIL PROTECTED]> wrote:
> >>>
> >>> > I had tried Yahoo's rich text editor, but i could not get the data via
> >>> > post... Any help in that matter would be great...
> >>>
> >>> > Thanks for the hint kyle.davis
> >>>
> >>> > On 11/13/08, validkeys <[EMAIL PROTECTED]> wrote:
> >>>
> >>> > > in some WYSIWYG editors, there is a setting for handling post. If you
> >>> > > don';t set that variable, you can submit the form but you won't see
> >>> > > the values in _POST
> >>>
> >>> > > On Nov 13, 7:01 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> >>> > > wrote:
> >>> > >> Hi,
> >>>
> >>> > >>    I need to build an inline wysiswig editor for the project i'm
> >>> > >> working on. I have tried some editors, but im not being able to
> >>> > >> extract the typed text using post.  Is such a facility built-in in
> >>> > >> cake ? Can any one help me out in this.... Thanks in advance....
> >>>
> >>> > --
> >>> > Aneesh S
> >> >>
> >>
> >
> >
> > --
> > Aneesh S
> >
>
>
> --
> Aneesh S
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to