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
The layoutTemplates will now support these new properties (these will allow extensibility and styling via theming):
previewMarkupTags: which contains markup for HTML tags enveloping the preview content for each file type. These keys can be configured:
tagBefore1
tagBefore2
tagAfter
previewContentTemplates: This will maintain the templates for the content only for each preview file type (e.g. image, text, html, pdf etc.). The default previewTemplates will be generated by combining this and enveloping within the previewMarkupTags to generate the final previewTemplates.
zoomCache: The template for managing zoom cache. For custom themes, one can embed the zoom cache template markup inside a container with CSS class kv-zoom-cache-theme. The plugin will then ensure that zoom cache is correctly cleared.
The text was updated successfully, but these errors were encountered:
kartik-v
changed the title
New properties previewMarkupTags and previewContentTemplates within layoutTemplates
New properties within layoutTemplatesFeb 4, 2017
The
layoutTemplates
will now support these new properties (these will allow extensibility and styling via theming):previewMarkupTags
: which contains markup for HTML tags enveloping the preview content for each file type. These keys can be configured:tagBefore1
tagBefore2
tagAfter
previewContentTemplates
: This will maintain the templates for the content only for each preview file type (e.g.image
,text
,html
,pdf
etc.). The defaultpreviewTemplates
will be generated by combining this and enveloping within thepreviewMarkupTags
to generate the finalpreviewTemplates
.zoomCache
: The template for managing zoom cache. For custom themes, one can embed the zoom cache template markup inside a container with CSS classkv-zoom-cache-theme
. The plugin will then ensure that zoom cache is correctly cleared.The text was updated successfully, but these errors were encountered: