Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New properties within layoutTemplates #861

Closed
kartik-v opened this issue Feb 4, 2017 · 1 comment
Closed

New properties within layoutTemplates #861

kartik-v opened this issue Feb 4, 2017 · 1 comment

Comments

@kartik-v
Copy link
Owner

kartik-v commented Feb 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 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.
@kartik-v kartik-v changed the title New properties previewMarkupTags and previewContentTemplates within layoutTemplates New properties within layoutTemplates Feb 4, 2017
@kartik-v
Copy link
Owner Author

kartik-v commented Feb 4, 2017

Resolved via updates to release v4.3.7.

@kartik-v kartik-v closed this as completed Feb 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant