Built‑in toggle to hide images in Author view
Are you missing a feature? Request its implementation here.
-
danielsandes
- Posts: 2
- Joined: Sat Aug 05, 2023 5:50 pm
Built‑in toggle to hide images in Author view
Post by danielsandes »
I’d like to know the possibility of adding a built‑in toggle to hide graphics in Author view. In large S1000D data modules with many illustrations, Author view can become sluggish. Most of our authors rely on Author view rather than Text view, so switching modes isn’t practical.
We believe that a native toolbar toggle (and matching preference) - similar to Arbortext Editor's option - to hide/show graphics on demand would significantly improve editing performance and memory usage.
Thanks in advance for the consideration.
Daniel
We believe that a native toolbar toggle (and matching preference) - similar to Arbortext Editor's option - to hide/show graphics on demand would significantly improve editing performance and memory usage.
Thanks in advance for the consideration.
Daniel
-
sorin_carbunaru
- Posts: 438
- Joined: Mon May 09, 2016 9:37 am
Re: Built‑in toggle to hide images in Author view
Post by sorin_carbunaru »
Hello,
The rendition of the content in the Author page is done using CSS, so you can tweak it with some custom CSS rules quite easily.
First follow the docs from https://www.oxygenxml.com/doc/versions/ ... tyles.html to create an alternate CSS (one that can be applied over the current styles) in your framework directory.
You can also take a look at an older webinar of mine about customizing the editing experience:
https://youtu.be/N5cNgWfQAdQ?si=fi3S3bDAxb7kQziK&t=1250
This link will start the video exactly where I create an alternate CSS. For more background information, go back to 13:21 in the video.
In the created CSS file you can add rules to customize the image rendition as desired. For example, you can render a very small variant of the image with an explanatory label:
Or perhaps you can replace the image with a label:
Now you can go to the Styles drop-down in the toolbars area and select or deselect the custom style to hide or show the images.
Hope this helps.
All the best wishes,
Sorin Carbunaru
Oxygen XML Editor
The rendition of the content in the Author page is done using CSS, so you can tweak it with some custom CSS rules quite easily.
First follow the docs from https://www.oxygenxml.com/doc/versions/ ... tyles.html to create an alternate CSS (one that can be applied over the current styles) in your framework directory.
You can also take a look at an older webinar of mine about customizing the editing experience:
https://youtu.be/N5cNgWfQAdQ?si=fi3S3bDAxb7kQziK&t=1250
This link will start the video exactly where I create an alternate CSS. For more background information, go back to 13:21 in the video.
In the created CSS file you can add rules to customize the image rendition as desired. For example, you can render a very small variant of the image with an explanatory label:
Code: Select all
image {
width: 64px;
height: 64px;
}
image:before(10) {
content: "Image shrinked via aternate style: ";
display: inline;
font-style: italic;
color: gray;
}
Code: Select all
image {
content: "Placeholder for image: " attr(href) !important;
font-style: italic;
color: gray;
}
Hope this helps.
All the best wishes,
Sorin Carbunaru
Oxygen XML Editor
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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