Applying CSS customization to attribute text boxes in Oxygen editor
Posted: Wed Oct 30, 2024 6:54 pm
Hello to my Oxygen friends! It's been awhile.
We have a specialization of the DITA <data> metadata element. I would like to customize its appearance in Oxygen's editor as follows:
But then when I start editing the attribute values, funny things start happening to the text boxes and labels (duplicate boxes appear, labels disappear).
What is the correct way to customize attribute text entry fields in CSS? I tried to copy what i saw in Oxygen's own CSS files, but clearly I am missing some aspect.
Testcase here:
To run,
We have a specialization of the DITA <data> metadata element. I would like to customize its appearance in Oxygen's editor as follows:
- Show a label before the element
- Show a label before each attribute text entry box
- Always show the @name and @value attributes (because it can have other attributes too)
But then when I start editing the attribute values, funny things start happening to the text boxes and labels (duplicate boxes appear, labels disappear).
What is the correct way to customize attribute text entry fields in CSS? I tried to copy what i saw in Oxygen's own CSS files, but clearly I am missing some aspect.
Testcase here:
To run,
- Open the Oxygen project file.
- Open the DITA topic file.
- In the Styles drop-down, apply the incremental CSS.
- Insert a <data> element.
- Add some attribute values.