tinymce / tinymce-angular

Official TinyMCE Angular Component
MIT License
330 stars 92 forks source link

Need to update image_list after loading editor however not able to update #154

Closed Shon028 closed 4 years ago

Shon028 commented 4 years ago

When init is assigned with value using some variable and later I want to change image_list after editor is loaded

I tried update image_list using array which i fetched from web api. updated value is not getting not reflected when I open Insert/Edit Image dialogue.

Image_list should be updated once we update variable assigned to it or there should be a way to update image_list after editor is loaded.

I am using Angular 7 and tiny mce angular latest component

jscasca commented 4 years ago

Have you tried using an async function parameter instead of the static parameter when using the image_list?

You can see an example here https://www.tiny.cloud/docs/plugins/image/#image_list under 'Example of a custom async function'

jscasca commented 4 years ago

@Shon028 I'm closing this issue due to lack of activity but feel free to open it again if the answer is not what you were looking for