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

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -