Hi,
At the moment I have the following command:
<cfg:command name="delete-and-new-para">
<cfg:macro>
<cfg:sequence>
<cfg:command name="delete"/>
<cfg:command name="selectNode"
parameter="self[implicitElement]"/>
<cfg:command name="insert"
parameter="after[implicitElement] absatz"/>
</cfg:sequence>
</cfg:macro>
</cfg:command>
Actually, I just want to execute the delete command, if the user has
selected some text in XXE, otherwise this command schould be skipped.
Unfortunately, I didn't manage to find a hint how to test for a text
selection in XXE. But I am sure that there is a solution fort hat...
Thanks for your help!
Best regards,
Roman