Hello,

I'd like to disable the highlight effect on text that's embedded in
the inPlaceEditor.  I've seen other posts on this idea where they've
suggested modifiying the control.js code.  To that end I've found this
bit in control.js..
************
    onLeaveHover: function(ipe) {
      ipe._effect = new Effect.Highlight(ipe.element, {
        startcolor: ipe.options.highlightColor, endcolor:
ipe.options.highlightEndColor,
        restorecolor: ipe._originalBackground, keepBackgroundImage:
true
      });
************

which seems like I could comment that out.

Is that still the generally accepted way to accomplish this?

Or is there a setting, like [highlight = false] - or maybe I could
just add one?

also, the real reason I want this is because on FF2 - if I click text
to open the editor - then I click cancel - the text remains
highlighted, there is no fade.  So figuring out why it doesn't fade is
the real problem - but my needs are met by doing without the
highlight.

Thank You


--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to