filemanager test

This commit is contained in:
2022-07-18 09:42:02 +02:00
parent 1055263eaa
commit 5eded33414

View File

@@ -59,9 +59,14 @@ export default {
text: '', text: '',
name: 'core_section_textarea', name: 'core_section_textarea',
vtinymce: Object.assign(tinymceConfig, { vtinymce: Object.assign(tinymceConfig, {
file_picker_callback: (callback, value, meta) => { file_picker_callback: (callback) => {
if (this.$filemanager) { if (this.$filechooser) {
this.$filemanager.fileChooser(callback, value, meta) this.$filechooser.open({
chooseCallback: function (ev) {
console.log('filePathChosed', ev)
callback(ev.publicUrl);
}
})
} }
} }
}), }),