Hi, we finally ended up removing the WYSIWYG altogether because elRTE broke too much of the HTML and Freemarker code we are using.
Martin On 20.07.2011 11:09, Chatree Srichart wrote: > Hi René Scheibe, > How about your patch for the elRTE editor? Could you please commit it if you > have time? I also have the same problem. > > Thank you, Regards > Chatree Srichart > > On Sat, Feb 5, 2011 at 10:57 PM, René Scheibe <rene.sche...@tngtech.com>wrote: > > Hi Jacques, > > I have learned that HTML-WYSIWYG editors are not suited for this as > templates are not valid HTML. > > Anyway, elRTE has hooks to customize some behaviour. So I got editing > Freemarker templates working most of the time. I had to patch the editor > itself for handling XHTML correctly with Freemarker macros. There are > chances that this change is incorporated in the next version of the editor. > > In case I get it 100% done and I have time I will contribute it to OFBiz. > > Regards, > René Scheibe > > On 02/05/2011 02:05 PM, Jacques Le Roux wrote: >>>> Hi René, >>>> >>>> Did you find a solution? >>>> >>>> Jacques >>>> >>>> From: "René Scheibe" <rene.sche...@tngtech.com> >>>> Has anybody managed editing Freemarker templates that include macros >>>> with the new elRTE editor? >>>> >>>> Inserting this: >>>> >>>> <a href="<@ofbizUrl>something</@ofbizUrl">some text</a> >>>> >>>> is escaped to this: >>>> >>>> <a href="%3C@ofbizUrl%3Esomething%3C/@ofbizUrl">some text</a> >>>> >>>> Any ideas how to prevent escaping? >>>> >>>> Regards, >>>> René Scheibe