it was as I thought, and it generates the code to center the words.
But the problem is that the generated tag is in lower case, whereas to activate the centering the tag must be in upper case.
generated code: <wrap centeralign>my text</wrap>
expected code: <WRAP centeralign>my text</wrap>
did I make a mistake somewhere?
Ok, i found it: it must be a "syntaxDiv" in the TypeValue switch in wrap.js
Thx a lot for your time.