@fluxfiles/tinymce 0.3.3 → 0.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/plugin.js +4 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluxfiles/tinymce",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "description": "TinyMCE plugin for FluxFiles",
5
5
  "license": "MIT",
6
6
  "main": "plugin.js",
package/plugin.js CHANGED
@@ -51,7 +51,9 @@
51
51
  disks: editor.getParam('fluxfiles_disks', null),
52
52
  multiple: editor.getParam('fluxfiles_multiple', false),
53
53
  maxUploadMb: editor.getParam('fluxfiles_max_upload_mb', null),
54
- maxFiles: editor.getParam('fluxfiles_max_files', null)
54
+ maxFiles: editor.getParam('fluxfiles_max_files', null),
55
+ allowedTypes: editor.getParam('fluxfiles_allowed_types', null),
56
+ path: editor.getParam('fluxfiles_path', null)
55
57
  };
56
58
  }
57
59
 
@@ -99,6 +101,7 @@
99
101
  mode: 'picker', multiple: !!multiple,
100
102
  maxUploadMb: c.maxUploadMb, maxFiles: c.maxFiles, locale: c.locale,
101
103
  theme: c.theme, disks: c.disks,
104
+ allowedTypes: c.allowedTypes, path: c.path,
102
105
  onSelect: onSelect
103
106
  });
104
107
  }