mercredi 7 novembre 2018

Laravel + vue-ckeditor2 all inputs in modal are disabled (I'm not able+ to type anything)

I run into an error when I tried to integrate ckeditor with vue.js in my Laravel app.

I'm just not able to use inputs in the modal for adding images to ckeditor area, they're not clickable.

I use this ckeditor vue component - vue-ckeditor2 ( https://github.com/dangvanthanh/vue-ckeditor2 ) and my config looks (file uploader works fine - I use "responsive file manager" for this):

   config: {
                filebrowserBrowseUrl : window.location.protocol + "//" + window.location.hostname + '/filemanager/dialog.php?type=2&editor=ckeditor&fldr=',
                filebrowserUploadUrl : window.location.protocol + "//" + window.location.hostname + '/filemanager/dialog.php?type=2&editor=ckeditor&fldr=',
                filebrowserImageBrowseUrl : window.location.protocol + "//" + window.location.hostname + (window.location.port ? ":" + window.location.port : "" +  window.location.port) + '/filemanager/dialog.php?type=1&editor=ckeditor&fldr='
           },

I'm using "standard" version of ckeditor in my root folder in Laravel project

Also I've tried to use the same "standard" version of ckeditor in static index.html and it worked well - all inputs are working fine, so I suppose something might be wrong with "vue-ckeditor2" ?

How can I fix this in vue.js ?

Thank you very much for any ideas abn help!



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire