Closed alan-hicks closed 3 years ago
@alan-hicks Thanks for the work :) as i needed exactly that for the django-filebrowser-no-grappelli version. i submitted a security-patched version of your work over there as pull-request.
Before merging the pull-request here someone should fix filebrowser/static/filebrowser/js/FB_TinyMCEv5.js based on: https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage as providing * as unspecific targetOrigin is a severe security issue.
fixed with stable/3.13
TinyMCE update to version 5 changed callbacks from file_browser_callback to file_picker_callback. This pull request adds TinyMCE v5 support to FileBrowser.