Not a bug Add Resource - Uploaded images thumbnail not inserted in the correct editor

XFA

Well-known member
Hi,

In one of my addons, I have another editor field that is added before the description one.

When I create a new resource, if I use the "Upload Images" feature and then click on the "Thumbnail" or "Full image" button, the image doesn't get added to the Description editor but in my custom editor added before in the layout.

Though this strange behavior is due to the fact that my editor comes first, I think the image should still have been added to the correct editor. Guess your js code search for the first editor instance on the page instead of using the editor id ?

Clément
 
This is an issue with your add-on. There can only be one editor per form that accepts attachments. (You have to opt out.)
 
Top Bottom