SOLVED!
it turns out that you can not have any spaces in the code if you want
it to choose a input type=text  instead of a textarea. So if your code
looks like this
<p id='title'>
Titile txt here
</p>

you will get a text area

if it is this
<p id='title'>Titile txt here</p>

you should get a input type=text area instead.

On Sep 15, 10:20 pm, sfmerv <[EMAIL PROTECTED]> wrote:
> I have a small problem with the ajax editor. Everything works fine in
> terms of updating and returning the proper value.
>
> Here is the problem. I want the editor to load a input text field
> instead of a textarea when the user clicks on the the text they want
> to edit. Is there a way to set it? Also I want to edit the look of the
> form, is it best to do that in css?

--~--~---------~--~----~------------~-------~--~----~
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