Page 1 of 1

othermeta/@content input area

Posted: Mon Feb 05, 2024 12:07 am
by tmakita
One of my user frequently uses bookmeta/othermeta/@name and @content. They want to extend the input area of @content. Is there any solution?
othermeta_New.png

Re: othermeta/@content input area

Posted: Mon Feb 05, 2024 8:16 am
by Radu
Hi Toshihiko,
If you right click in Oxygen inside the othermeta element and choose "Inspect Styles", you will find a "before" selector in this CSS stylesheet:
OXYGEN_INSTALL_DIR/frameworks/dita/css/core/-topic-metadata-prolog.css
which looks like this:

Code: Select all

*[class~="topic/othermeta"]:before {
  content: " " oxy_textfield(edit, "@name", columns, 15) " " oxy_textfield(edit, "@content", columns, 10);
}
You can create a DITA framework extension which adds another CSS for the same selector which increases the number of columns:
https://blog.oxygenxml.com/topics/customizeDITACSS.html
Regards,
Radu

Re: othermeta/@content input area

Posted: Fri Mar 01, 2024 5:36 pm
by tmakita
Hi Radu,
Thank you for your reply.
I have modified my framework CSS file and the result is OK.
I appreciated your help.