[Xsltforms-support] TinyMCE in a repeat
Brought to you by:
alain-couthures
From: Mark B. <ma...@te...> - 2012-09-23 22:09:29
|
Hi I'm new to xsltforms and to this list, so please forgive beginner errors. I am not a JavaScript person. I'm using what I assume is the stable release, 1.0RC. (So far I'm impressed, having used FormFaces some years ago). My problem is attempting to add a TinyMCE textarea within a repeating element: my code is based on the example at http://www.agencexml.com/xsltforms/tinymce.xml. The first instantiation of the repeated element is fine. I use a trigger which inserts the new element set in the usual way - the TinyMCE textarea is a leaf element in that set. An insert creates the new elements with TinyMCE populating the textarea but the text-area UI is grey and unresponsive. If I save and reload the instance data the TinyMCE in the latest insert is now active. I guess that TinyMCE needs to be initialised and does it when the page loads without conflict between multiple instances of itself. Is there any way to make it initialise on insert? Thanks for any ideas. -- Mark Barratt |