Bug description
I noticed that if I navigate to a different folder in image explorer, that the onclick event on an image does not lead to the edit modal of the image properties but does close the parent modal and does not insert the img tag into the rte.
Steps to reproduce
To reproduce the problem:
Open the image plugin by pressing the image button
Navigate to a different folder in the sitetree but your current one
select an image
Expected behavior
If I navigate to a different folder than on "startup" of the modal, it should just work fine.
My suggestion would be to listen to onclick events on the ".node" classes in the sitetree or use an mutation observer.
Screenshots or logs
Code thats responsible for the error:
Bug description I noticed that if I navigate to a different folder in image explorer, that the onclick event on an image does not lead to the edit modal of the image properties but does close the parent modal and does not insert the img tag into the rte.
Steps to reproduce To reproduce the problem:
Expected behavior If I navigate to a different folder than on "startup" of the modal, it should just work fine.
My suggestion would be to listen to onclick events on the ".node" classes in the sitetree or use an mutation observer.
Screenshots or logs Code thats responsible for the error:
Suggested Solutions:
You may want to extract the function and use all of the above?
Environment
Documentation Have you checked the readme/documentation?