php - How to add new uploaded image in assets Manager - GrapesJS? -


i have uploaded image using php , how can add in assets manager - grapesjs? please write demo code rather pasting link assets api

the ajax call expects, result, json assets inside data key:

{   data: [     'https://image/path',     {type: 'image', src: 'https://image/path', height:350, width:250},     ..   ] } 

Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -