Additional text preview modes: none, fixed, markdown.

This commit is contained in:
Lars Jung 2013-08-31 15:27:46 +02:00
parent 8b2852ec9d
commit c8d0f5500e
3 changed files with 25 additions and 36 deletions

View file

@ -3,7 +3,7 @@ modulejs.define('ext/preview-img', ['_', '$', 'core/settings', 'core/event', 'ex
var settings = _.extend({
enabled: false,
types: ['bmp', 'gif', 'ico', 'image', 'jpg', 'png', 'tiff']
types: []
}, allsettings['preview-img']),
preloadImg = function (src, callback) {