Thank you Stanislas, it works as expected, every line gets wrapped with '|'+
but there's still something wrong with generated code (unterminated string
literal):
This RTE HTML code:
First paragraph with TS from Stanislas
Second paragraph with TS from Stanislas
Third paragraph with TS from Stani
Hi Martin,
I found how to encapsulate whole RTE content:
myspecialjs.parseFunc_RTE < lib.parseFunc_RTE
myspecialjs.parseFunc_RTE.nonTypoTagStdWrap.wrap = '|'+
But I can't find how to encapsulate every line.
Perhaps, something like:
myspecialjs.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.non
Hello list & group,
I need to prepare some HTML code for ExtJS panel with fluid (parseFuncTSPath="myspecialjs.parseFunc_RTE">) so I need to generate JS code
in this way:
---
var myContent = ''+
/* here comes my HTML from RTE */
'Some content'+
'';
---
Everything works until I have RTE content