Skip to content

Commit b7d8bf4

Browse files
authored
build last chanegs (#140)
1 parent d7ba5c9 commit b7d8bf4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/PublicLab.Editor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22306,7 +22306,7 @@ module.exports = function(textarea, _editor, _module) {
2230622306
// should return whether `e.dataTransfer.files[i]` is valid, defaults to a `true` operation
2230722307
validate: function isAttachment (file) {
2230822308
var valid = true,
22309-
formats = _module.options.formats || ['csv', 'xls', 'zip', 'kml', 'kmz', 'gpx', 'lut', 'stl', 'dxf', 'txt', 'pdf', 'svg', 'doc', 'ppt'],
22309+
formats = _module.options.attachmentFormats || ['csv', 'xls', 'zip', 'kml', 'kmz', 'gpx', 'lut', 'stl', 'dxf', 'txt', 'pdf', 'svg', 'doc', 'ppt'],
2231022310
filetype = file.name.split('.')[file.name.split('.').length - 1];
2231122311
filetype = filetype.toLowerCase();
2231222312
if (formats.indexOf(filetype) === -1) valid = false;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "publiclab-editor",
3-
"version": "1.2.1",
3+
"version": "1.2.2",
44
"description": "PublicLab.Editor is a general purpose, JavaScript/Bootstrap UI framework for rich text posting, which provides an author-friendly, minimal, mobile/desktop (fluid) interface for creating blog-like content, designed for PublicLab.org",
55
"main": "dist/PublicLab.Editor.js",
66
"scripts": {

0 commit comments

Comments
 (0)