Hi Valentine,

I am currently trying out your inPlaceEditor and I am happy with so
far as it helps with the CMS I am developing in Rails at the moment.

However, when you click cancel and go into in-place editing right
after again, the textfield does not switch into WYSIWYG mode anymore.
That behaviour is correct, because you do not disconnect the editor
instance form the DOM tree on cancel.

I've added your toggle script to the onclickCancel function in the
modified controls.js:
 /* begin TinyMCE addon */
if (this.options.veButton && this.options.veIsOn) {
  this.veToggle();
}
/* end TinyMCE addon */

That resolves the problem.
I hope this helps :-)


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