|
@@ -293,7 +293,7 @@ The following tags will be parsed and replaced in each of the templates:
|
|
- `{height}`: will be replaced with the height for the file type as set in `previewSettings`.
|
|
- `{height}`: will be replaced with the height for the file type as set in `previewSettings`.
|
|
- `{caption}`: will be replaced with the file name.
|
|
- `{caption}`: will be replaced with the file name.
|
|
- `{type}`: will be replaced with the file type.
|
|
- `{type}`: will be replaced with the file type.
|
|
-- `{content}`: this is applicable only for the `generic` template. It will be with the raw HTML markup as set in `initialPreview`. None of
|
|
|
|
|
|
+- `{content}`: this is applicable only for the `generic` template. It will be replaced with the raw HTML markup as set in `initialPreview`. None of
|
|
the above tags will be parsed for the `generic` template.
|
|
the above tags will be parsed for the `generic` template.
|
|
|
|
|
|
As noted, if you are coming from an earlier release (before v2.4.0), all preview templates have now been combined into one property, instead of separate templates for image, text etc.
|
|
As noted, if you are coming from an earlier release (before v2.4.0), all preview templates have now been combined into one property, instead of separate templates for image, text etc.
|