<editor> for textarea - doesn't work within a table?

24 views
Skip to first unread message

Tim Griffin

unread,
Jun 14, 2011, 2:07:39 PM6/14/11
to hobo...@googlegroups.com
Hi all,

Can anyone enlighten me as to why an in-place <editor> tag for a text area won't activate when its within a <table> <td> cell? The field activates perfectly if outside the table, but not within it. 

Oddly, an in-place <editor> tag for a string works okay within a tabe, but not for a text field.

Curious.
Tim

Tim Griffin

unread,
Jun 14, 2011, 2:17:00 PM6/14/11
to hobo...@googlegroups.com
Well, this is odd, so I'm looking for an expert opinion here.

Upon restarting my rails development server (Webrick), and refreshing the page, the in-place editor for a text area DOES work, even within a <table> I can activate/deactivate many times.

BUT: If I refresh the page, I am unable to activate the in-place editor again, unless I restart the rails server, and refresh the page. 

Any hints would be appreciated!
Tim

Walter Lee Davis

unread,
Jun 14, 2011, 2:32:04 PM6/14/11
to hobo...@googlegroups.com

View source in a browser, select all and copy. Go to http://validator.w3.org
, select the input source tab, and paste. See if your page has any
errors. That's the first thing to do whenever you have inconsistent
errors in JavaScript. Without a solid base, your page will possibly be
open to interpretation.

As far as a reload breaking things, perhaps your editor is failing the
same origin policy in one instance and not the other. That's a total
guess, since I can't see your code. If you have Firebug enabled, or
the Develop menu in Safari, look and see what the Console tab is
showing you. Any errors would be instructive.

Walter


> Tim
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Hobo Users" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/hobousers/-/SiKholP5xQwJ
> .
> To post to this group, send email to hobo...@googlegroups.com.
> To unsubscribe from this group, send email to hobousers+...@googlegroups.com
> .
> For more options, visit this group at http://groups.google.com/group/hobousers?hl=en
> .

Tim Griffin

unread,
Jun 14, 2011, 2:52:19 PM6/14/11
to hobo...@googlegroups.com
Thanks for the suggestion Walter. I'll see what I can uncover. 

Tim

Reply all
Reply to author
Forward
0 new messages