Re: [Xsltforms-support] TinyMCE inside xf:repeat
Brought to you by:
alain-couthures
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 |