You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would be a non-breaking change, quite easy to implement. If you would accept the change, I could send a pull request.
Alternative solutions
Right now, we are setting @outputclass="inline", but this is additional effort, because the information, that this image is an inline image, is already defined by the @placement="inline" attribute.
Description
It would be nice, if an additional CSS class would be added for inline
<img>
elements. Currently, this does not happen, as you can see in the<xsl:template match="*[contains(@class, ' topic/image ')]" name="topic.image">
template and the<xsl:template name="topic-image">
template. This would simplify the styling of inline images, e.g. to change formatting, positioning, and scaling.This would be a non-breaking change, quite easy to implement. If you would accept the change, I could send a pull request.
Alternative solutions
Right now, we are setting
@outputclass="inline"
, but this is additional effort, because the information, that this image is an inline image, is already defined by the@placement="inline"
attribute.Possible Solution
Set an additional class, for instance
inline
.Test files
html5-inline-image.zip
The text was updated successfully, but these errors were encountered: