Hi,
I am trying to create a binding to wrap or unwrap text to be checked
later using the following :
<binding>
<keyPressed code="R" modifiers="mod" />
<command name="wrapUnwrap" />
</binding>
<command name="wrapUnwrap">
<macro>
<choice>
<command name="wrap" parameter="[implicitElement] toCheck"/>
<command name="wrap" parameter="[implicitElement] #text"/>
</choice>
</macro>
</command>
This works fine, but if another element was in the selection (for
instance something like italic or bold), unwrapping looses the included
element, because of the '#text' parameter.
Is there a way to really unwrap, that is to remove the parent element only ?
Best regards,
Lionel Barth