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

sql - Time in datatime field -

javascript - How to split the success output from an Ajax post? -

java - sharing object across different classes -