浏览代码

Upgrade to release v2.4.0

Kartik Visweswaran 10 年之前
父节点
当前提交
bc7b3d25f5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -283,7 +283,7 @@ _object_ the templates configuration for rendering each preview file type. The f
 - `audio`: the preview template for audio files (supported by HTML 5 audio tag).
 - `audio`: the preview template for audio files (supported by HTML 5 audio tag).
 - `flash`: the preview template for flash files (supported currently on webkit browsers).
 - `flash`: the preview template for flash files (supported currently on webkit browsers).
 - `object`: the preview template for all other files - by default treated as object. To disable this behavior, configure the `allowedPreviewTypes` property.
 - `object`: the preview template for all other files - by default treated as object. To disable this behavior, configure the `allowedPreviewTypes` property.
-- `generic`: this template is used ONLY for rendering the `initialPreview` markup content passed directly as a raw format. 
+- `generic`: this template is used ONLY for rendering the `initialPreview` markup content passed directly as a raw format. The special tag `{content}` will be parsed and replaced with the `initialPreview` markup.
 
 
 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.