Thanks Jacques for looking in this. Could you please share the R9 demo site URL?
Regards Ritu Raj Lakhera Solveda India (formerly known as Salmon India) Phone. +91-9560087139 Email. [email protected] Skype. lakhera.rituraj On Mon, Jan 27, 2014 at 2:34 PM, Jacques Le Roux < [email protected] > wrote: I checked this was working in R09.04, I will have a closer look... Jacques On Sunday, January 19, 2014 3:02 PM, [email protected] wrote > This is indeed an issue but can't be fixed with WYSIWYG Editor (nor with > jQuery). > > In EditHtmlText.textData form field we need to use encode-output="true" for > things to work, but then we are screwed when > updating. > So we need to find a way to decode back before saving. Since we use the > updateElectronicText service and it's implemented by a > simple-method, I think the only option is to rather switch to Java for this > peculiar case. A Jira issue with a contribution would > be become... > > Jacques > > On Tuesday, January 14, 2014 7:48 AM, [email protected] wrote >> Hi All, >> >> When I am changing the content in WYSIWYG Editor . This is loosing the FTL >> syntax after saving. >> >> I tried with ' STDWRAP001 ' data resource. >> https://demo-trunk.ofbiz. apache.org:8443/content/ control/EditHtmlText? >> dataResourceId=STDWRAP001 >> https://demo-trunk.ofbiz. apache.org:8443/content/ >> control/EditElectronicText? dataResourceId=STDWRAP001 >> >> You can check this with 'WRAP_STD_001' data resource. >> https://demo-trunk.ofbiz. apache.org:8443/content/ >> control/EditElectronicText? dataResourceId=WRAP_STD_001 >> https://demo-trunk.ofbiz. apache.org:8443/content/ control/EditHtmlText? >> dataResourceId=WRAP_STD_001 >> >> For Ex: >> If content have the below text >> <#if x == 1> >> x is 1 >> <#else> >> x is not 1 >> </#if> >> >> and then go to WYSIWYG Editor, it becomes: >> >> <#if x == 1> >> x is 1 >> <#else / > >> x is not 1 >> <!--#if--> >> >> Is there a way to configure this WYSIWYG Editor to handle these idioms so >> that when I change the data in this editor and a simple >> text area that the markup remains consistent? >> >> Regards >> >> Ritu Raj Lakhera >> >> Solveda India >> (formerly known as Salmon India) >> Phone. +91-9560087139 >> Email. [email protected] >> Skype. lakhera.rituraj
