Re: In-place editor?
- Yep, that's how I do it. The script.aculo.us version just wraps this,
plus a lot of user feedback and error-checking into a nice reusable
package, so you can say, "make this div in-place editable" and be done
Would be great to have something similar in the yahoo toolkit.
> Sometime Today, j cobbled together some glyphs to say:
> > Thanks, Joe. I'm actually not looking for rich-text editor, just an
> > in-place editor -- the kind of widget that automatically replaces a
> > non-editable element (like a DIV) with an editable one (like a
> > textarea), and manages the async update.
> What you probably want to do is put a borderless, backgroundless
> textarea/text box on top of your div. When the user mouseovers or
> clicks, you set the text value, background, and optionally colour.
> This text box is in a form of its own. You have a submit button below
> it, or you trap the enter key. When the user hits it, submit the form
> asynchronously using the connect utility while also updating the div