Rendering specific PIs as images
Posted: Fri Nov 23, 2018 6:04 pm
Imagine <?inline-icon name="arrow"?> PI. Would it be possible to display it in the Author mode like the standard image (i.e. like inlinemediaobject in DocBook document)? The name corresponds to the image in the dedicated folder within the framework.
I am accepting the content would be editable only in the text mode.
In the API description there are methods for inserting XML fragments, but I couldn't find anything what can override the element rendering.
In CSS I am unable to use the image passed to PI as pseudo-attribute.
Any idea?
I am accepting the content would be editable only in the text mode.
In the API description there are methods for inserting XML fragments, but I couldn't find anything what can override the element rendering.
In CSS I am unable to use the image passed to PI as pseudo-attribute.
Any idea?