Open paulgodard opened 3 years ago
I have been playing with Alexusmai filemanager and tinyMCE 5... quite easy to set up and it is working fine. However I still prefer Jodit editor for its layout and functionality.
How can I integrate AFM in the same way in Jodit as I did in tinyMCE?
window.onload = function () { tinymce.init({ file_picker_callback (callback, value, meta) { let x = window.innerWidth || document.documentElement.clientWidth || document.getElementsByTagName('body')[0].clientWidth let y = window.innerHeight|| document.documentElement.clientHeight|| document.getElementsByTagName('body')[0].clientHeight tinymce.activeEditor.windowManager.openUrl({ url : '/file-manager/tinymce5', title : 'Laravel File manager', width : x 0.8, height : y 0.8, onMessage: (api, message) => { callback(message.content, { text: message.text }) } }) } ...
HI. I have been using Jodit for a while and I like it. Thank you for sharing! I have been trying to get the uploader to work following the tutorial on https://xdsoft.net/jodit/v.2/doc/tutorial-uploader-settings.html but with no result. The first error I get is "Uncaught TypeError: this.o.filesVariableName is not a function". How can I fix that? Also I am not clear on which path to give to upload.php on laravel, as well as where the files should be uploaded. Has someone managed to get this work, including file manager to browse through files and folders on server? I would greatly appreciate some help, ideally a working sample showing all these features. Anyone?