I'm trying to customise an authoring environment to always insert a <text> element when a (parent) <list-item> is inserted by adding the following to my framework's cc_config.xml:
<elementProposals path="kgp:list-item" insertElements="kgp:text" xmlns:kgp="http://ns.karnovgroup.com/kg-pp"/>
In other words, I always want this when inserting a <list-item>:
Code: Select all
<kgp:list-item>
<kgp:text/>
<kgp:list-item>
Code: Select all
<!ELEMENT kgp:list-item (%block.content; | kgp:references | xi:include)+ >
My oXygen version is 21, build 2019040204, and I'm running it on Ubuntu Linux. Looking at the documentation (https://www.oxygenxml.com/doc/versions/ ... ually.html), this particular procedure appears to be for 19.1, but I assume it's still the same?
Many thanks,
/Ari