filemanager test
This commit is contained in:
@@ -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);
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
|
|||||||
Reference in New Issue
Block a user