Hi Frank,

By default with a stock Oxygen installation and default DITA XML editing, wrapping a <p> inside a <note> does not automatically add an extra paragraph like note > p > p. That's because when inserting a <note> by default no paragraph is inserted inside it.

Is it possible you made changes to the content completion configuration file so that a note has a required paragraph child element?

Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 1/20/25 19:02, Frank Dissinger wrote:

Hi all,

When I insert a <note> element, <p> is added automatically as a child, which is the desired behaviour for me.

However, wrapping a <p> into <note>, produces the structure <note><p><p>, which is invalid because two <p> elements are nested.

How can I prevent that another <p> is added as a child of <note> just for the wrapping operation (and not for inserting)?

Freundliche Grüße | Best regards

*Frank Dissinger*

Documentation Manager

..........................................

*CGS ORIS GmbH*

*Email *frank.dissin...@cgs-oris.com <mailto:frank.dissin...@cgs-oris.com>| *Web* www.cgs-oris.com <http://www.cgs-oris.com/>

*Address*Kettelerstrasse 24 | 63512 Hainburg | Germany

*Phone*+49 6182 9626-0 | *Fax* +49 6182 9626-99

*Commercial register*Offenbach, HRB no. 21495

*Managing directors*Bernd Rückert, Christoph Thommessen

​


_______________________________________________
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
_______________________________________________
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user

Reply via email to