Can I set a default attribute of an element?
Post here questions and problems related to editing and publishing DITA content.
Can I set a default attribute of an element?
I want all my images to be on a newline. However, Oxygen defaults to showing images inline. So for every single image, I have to set the "Placement" attribute to be "break". Is there a way to change this default?
Re: Can I set a default attribute of an element?
Hi,
From what we tested the "Insert Image" action from the toolbar should preserve in the configuration dialog your choice of image placement between application restarts.
This aspect you want has two sides:
1) The publishing part. Do you want the publishing to break lines before images even if the "placement='break'" attribute is not specified on them? If so, you will need some kind of custom publishing plugin overwriting the image processing templates.
2) The visual editing. Do you want the editing to visually break lines before images even if the "placement='break'" attribute is not specified on them? The visual editing is CSS based so using the CSS Inspector view you can locate the CSS which defines the image styles and force a display block on it.
https://blog.oxygenxml.com/topics/customizeDITACSS.html
Regards,
Radu
From what we tested the "Insert Image" action from the toolbar should preserve in the configuration dialog your choice of image placement between application restarts.
This aspect you want has two sides:
1) The publishing part. Do you want the publishing to break lines before images even if the "placement='break'" attribute is not specified on them? If so, you will need some kind of custom publishing plugin overwriting the image processing templates.
2) The visual editing. Do you want the editing to visually break lines before images even if the "placement='break'" attribute is not specified on them? The visual editing is CSS based so using the CSS Inspector view you can locate the CSS which defines the image styles and force a display block on it.
https://blog.oxygenxml.com/topics/customizeDITACSS.html
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service