Doesn''t happen for me. Seems fine. There is one extra break after the
CANCEL link but that''s all.
If you do a select-all and paste the code into an HTML editor you''ll
see what the script is inserting:
<FORM class=inplaceeditor-form id=editme-inplaceeditor>
<TEXTAREA class=editor_field rows=5 cols=40>YOUR TEXT</
TEXTAREA>
<BR>
<INPUT class=editor_ok_button type=submit value=ok>
<A
class="editor_cancel editor_cancel_link"
href="#">cancel</A>
</FORM>
You could always fiddle with the classes and styles of what the script
is inserting in order to obtain the desired effect.
http://wiki.script.aculo.us/scriptaculous/show/Ajax.InPlaceEditor
On Sep 24, 1:04 pm, Steve Prior
<spr...-k+eNSbF9ABhWk0Htik3J/w@public.gmane.org>
wrote:> I''m using the scriptaculous in place editor on a span in a cell of
a
> table. Before the cell has been clicked on for editing the table
> spacing looks "normal", but when I click on the cell and the
editor is
> created, the row suddenly takes up almost twice the vertical space even
> though it leaves empty space above and below the editor. This collapses
> back to normal once editing is complete.
>
> What''s the best way to control this so the in place editor
doesn''t cause
> the row to grow vertically?
>
> Thanks
> Steve
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---