Closed vothequangdl closed 1 year ago
hi admin. i'm using net 6.0 razor page with summernote and elfinder(elFinder.NetCore 1.3.6 & elfinder-2.1.61) integration. However, when I upload the file, I get the error "Unknown command.". please, ask admin for help. thank you.
function elfinderDialog(editor) { var fm = $('
}, lang: 'vi', width: 840, height: 450, destroyOnClose: true, getFileCallback: function (files, fm) { console.log(files); editor.invoke('editor.insertImage', files.url); }, commandsOptions: { getfile: { oncomplete: 'close', folders: false } } }).dialogelfinder('instance'); }
hi admin. i'm using net 6.0 razor page with summernote and elfinder(elFinder.NetCore 1.3.6 & elfinder-2.1.61) integration. However, when I upload the file, I get the error "Unknown command.". please, ask admin for help. thank you.
function elfinderDialog(editor) { var fm = $('
').dialogelfinder({ url: '?handler=Connector', baseUrl: "/plugins/elfinder-2.1.61/", customHeaders: { 'XSRF-TOKEN': $('input:hidden[name="__RequestVerificationToken"]').val()