Re: [Xsltforms-support] TinyMCE
Brought to you by:
alain-couthures
From: Alain C. <ala...@ag...> - 2015-05-06 19:39:29
|
Hello Kristian, Could you please post an explicit test case? Textarea content should be a serialization (with < and >), not effective tags (with < and >). Regards, --Alain Le 05/05/2015 08:39, Kristian Kankainen a écrit : > Thank you Alain! > > I got it working now with the latest code from the repository and the > latest stable tinymce. > > What I don't understand is why TinyMCE doesn't interpret the <p> tags > I have in my nodeset that is bound to the textarea? > > The XML is read in to the instance using <xforms:instance > src="myfile.xml"> and looking at the element that the nodeset bound to > TinyMCE it does include several <p> elements, but only the text nodes > are copied to the editor. Is this because of XPath and how should I > get around it? > > All the best wishes > Kristian > > 04.05.2015 20:47, Alain Couthures kirjutas: >> Hello Kristian, >> >> I will add a supported version of TinyMCE in repositories soon. >> >> If you look at source of >> http://www.agencexml.com/xsltforms/tinymce.xml, you will see this line: >> >> <script type="text/javascript" >> src="xsltforms/scripts/tinymce_4.0.21/tinymce.min.js >> <http://www.agencexml.com/xsltforms/xsltforms/scripts/tinymce_4.0.21/tinymce.min.js>" >> data-uri="http://www.tinymce.com" data-version="4.0.21">/* */</script> >> >> I am confident that latest TinyMCE version should work with XSLTForms >> as 4.0.21 does. >> >> Thank you for your feedback! >> >> --Alain >> >> Le 04/05/2015 07:54, Kristian Kankainen a écrit : >>> Hello! >>> >>> I wanted to try out TinyMCE but I can't find the new version in the >>> repositories. I have struggled quite some hours now going through the >>> files I get from Git clone and SVN checkout of the SourceForge >>> repository[1]. Still I can't find anything else than version 3.4.6 of >>> TinyMCE. I also set up the tXs building system and built the three main >>> components but this didn't do the trick, obviously perhaps. >>> >>> How can I find the latest build in the source repository? >>> >>> Greetings >>> Kristian K >>> >>> [1]http://sourceforge.net/p/xsltforms/code/ci/master/tree/ and >>> http://sourceforge.net/p/xsltforms/svn/HEAD/tree/ >>> >>> >> > |