JiHong88 / suneditor

Pure javascript based WYSIWYG html editor, with no dependencies.
http://suneditor.com
MIT License
1.77k stars 316 forks source link

Fill imageGallery directly with JSON #1446

Open mondjunge opened 2 months ago

mondjunge commented 2 months ago

Hi there,

I would like to use the imageGallery, but do not like to implement an extra REST Service for getting the needed JSON to fill the image gallery.

in addition to the current imageGalleryUrl it would be convinient to be able to pass the JSON for the imageGallery directly into the configuration with an extra Parameter like imageGalleryJSON.

That would make it possible to implement and configure the imageGallery in a simple component without the need for a special JSON-Backend that needs rights management and special approvement of development lead.

Best Greetings