Thread: [Xsltforms-support] TinyMCE inside xf:repeat
Brought to you by:
alain-couthures
From: Michael S. <ms...@ba...> - 2013-01-07 09:50:21
|
Dear list, I am playing around with tinyMCE and repeating elements, running into problems similar to: > http://sourceforge.net/mailarchive/forum.php?thread_name=50620AE1.5070900%40agencexml.com&forum_name=xsltforms-support but I could not find whether or not there was a solution to that problem. I prepared a running example at > https://gist.github.com/f3c8e4986d69217b4bee Once you click the add button, a new tinyMCE is inserted, but it is empty (i.e. contains an iframe with an empty body instead of the fields content) and can't be clicked on. So I assume it is not fully initialized in some way, yet I have no idea what actually goes wrong. Any ideas or pointers on how to solve this would be greatly appreciated :-) Best from Konstanz Michael |
From: Alain C. <ala...@ag...> - 2013-01-08 20:29:29
|
Hello Michael, This issue is due to DOM node cloning and tinyMCE doesn't support this. Apparently, duplicate ids are confusing it and XSLTForms is not changing ids before adding cloned nodes but just after. So, this requires a not so trivial change in XSLTForms. Are you in a hurry about this? -Alain Le 07/01/2013 10:27, Michael Seiferle a écrit : > Dear list, > > I am playing around with tinyMCE and repeating elements, running into > problems similar to: >> http://sourceforge.net/mailarchive/forum.php?thread_name=50620AE1.5070900%40agencexml.com&forum_name=xsltforms-support >> <http://sourceforge.net/mailarchive/forum.php?thread_name=506...@ag...&forum_name=xsltforms-support> > but I could not find whether or not there was a solution to that problem. > > I prepared a running example at >> https://gist.github.com/f3c8e4986d69217b4bee > Once you click the add button, a new tinyMCE is inserted, but it is > empty (i.e. contains an iframe with an empty body instead of the > fields content) and can't be clicked on. > So I assume it is not fully initialized in some way, yet I have no > idea what actually goes wrong. > > Any ideas or pointers on how to solve this would be greatly > appreciated :-) > Best from Konstanz > Michael > > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. SALE $99.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122412 > > > _______________________________________________ > Xsltforms-support mailing list > Xsl...@li... > https://lists.sourceforge.net/lists/listinfo/xsltforms-support |
From: Michael S. <ms...@ba...> - 2013-01-08 21:17:12
|
Hi Alain, No hurries! I am currently working on loading the editor on demand (and unloading instances that are currently not used); it's not perfect yet but I can send you my changes, it seems to work reasonably well. I'll try to wrap it up and send you a demo by Friday :-) Best and thanks! Am 08.01.2013 um 21:29 schrieb Alain Couthures <ala...@ag...>: > Hello Michael, > > This issue is due to DOM node cloning and tinyMCE doesn't support this. > > Apparently, duplicate ids are confusing it and XSLTForms is not changing ids before adding cloned nodes but just after. > > So, this requires a not so trivial change in XSLTForms. > > Are you in a hurry about this? > > -Alain > > Le 07/01/2013 10:27, Michael Seiferle a écrit : >> Dear list, >> >> I am playing around with tinyMCE and repeating elements, running into problems similar to: >>> http://sourceforge.net/mailarchive/forum.php?thread_name=50620AE1.5070900%40agencexml.com&forum_name=xsltforms-support >> but I could not find whether or not there was a solution to that problem. >> >> I prepared a running example at >>> https://gist.github.com/f3c8e4986d69217b4bee >> Once you click the add button, a new tinyMCE is inserted, but it is empty (i.e. contains an iframe with an empty body instead of the fields content) and can't be clicked on. >> So I assume it is not fully initialized in some way, yet I have no idea what actually goes wrong. >> >> Any ideas or pointers on how to solve this would be greatly appreciated :-) >> >> Best from Konstanz >> Michael >> >> >> ------------------------------------------------------------------------------ >> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, >> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current >> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft >> MVPs and experts. SALE $99.99 this month only -- learn more at: >> http://p.sf.net/sfu/learnmore_122412 >> >> >> _______________________________________________ >> Xsltforms-support mailing list >> Xsl...@li... >> https://lists.sourceforge.net/lists/listinfo/xsltforms-support > |
From: <mcu...@co...> - 2013-02-17 02:22:11
|
Could someone show how to modify the XForms example at: http://www.agencexml.com/xsltforms/wikipediasearch.xml so that it would use a resource in XML instead of JSON? Thanks, Morgan ----- Original Message ----- |