[oXygen-user] [OXYGEN-24088] Wrapping <p> into <note> produces invalid DITA code

Oxygen XML Editor Support (Radu Coravu) support at oxygenxml.com
Mon Jan 20 22:46:47 CST 2025


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.dissinger at cgs-oris.com 
> <mailto:frank.dissinger at 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 at oxygenxml.com
> https://www.oxygenxml.com/mailman/listinfo/oxygen-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20250121/efd661d7/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 63714 bytes
Desc: not available
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20250121/efd661d7/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 151 bytes
Desc: not available
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20250121/efd661d7/attachment-0001.png>


More information about the oXygen-user mailing list