• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

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

MtoR

Well-known member
#1
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
 

Mike

XenForo developer
Staff member
#2
This is an issue with your add-on. There can only be one editor per form that accepts attachments. (You have to opt out.)