Hello,

I have started to take a look at the issue that you are having.

The problem may be stemming from the way it seems to be manipulating the DOM and initializing the inline edit field during a click event.

Along with this it seems that you are re-initializing the inline edit field on each click event, which may end up decreasing performance on the client side.

Would you be able to set up the markup and initialize the component ahead of time?

If you take a look at the quick start example that we have, you'll notice that we also have multiple rich text inline edit fields. You can look at this as one example of initializing multiple rich text inline edit fields on a single page.

http://build.fluidproject.org/infusion/standalone-demos/quick-start-examples/inlineEdit/html/InlineEdit.html

The code for this can be seen here:
http://source.fluidproject.org/svn/fluid/infusion/trunk/src/webapp/standalone-demos/quick-start-examples/inlineEdit/js/InlineEdit-example.js

I hope this helps.

Also, about the mailing list. I have also cc'd the Infusion-users mailing list. We are happy to answer questions posted to fluid-work listed, but you may find broader support from the community as a whole on the Infusion-users list.

Thanks
Justin

On 14-Jul-09, at 12:59 AM, Shashank Agrawal wrote:

Hello,

As a GSoC participant, I am working with Sakai on the Rich Text Inline Edit Project and I am using Fluid API. An initial implementation of the project is available here and the javascript is here. It is working all right. (If you stay for a while on a paragraph, an edit button will appear in a corner. Clicking on the edit button will open the para in an edit box).

I am facing some problems with the next implementation which is here and the javascript is here. We have removed the edit button. Staying on a paragraph for a while will highlight it and clicking on it will make it editable. I have switched to advanced theme for tinyMCE. Save/Cancel buttons are part of the toolbar itself. For the first time when a para is selected for editing, the editor appears and disappears. I have to click a couple of times to get it back. Once the first para is saved/cancelled, things start working nicely. When we choose another para, the editor opens and stays.

I have spent quite some time try to figure out the problem. Any help would be of great value. (Apologies if I am not mailing my issue to the right mailing list.)

Regards,
Shashank Agrawal.

--
Senior Undergraduate,
Computer Science and Engineering,
International Institute of Information Technology - Hyderabad.
Homepage: http://web.iiit.ac.in/~sagrawal/
_______________________________________________________
fluid-work mailing list - [email protected]
To unsubscribe, change settings or access archives,
see http://fluidproject.org/mailman/listinfo/fluid-work

_______________________________________________________
fluid-work mailing list - [email protected]
To unsubscribe, change settings or access archives,
see http://fluidproject.org/mailman/listinfo/fluid-work

Reply via email to