Not inserting images after file upload [RESOLVED]
Image not being inserted into textarea after file upload and the upload-progress-back.gif keep running endlessly.
Chrome developer tools (f12) show some editor.js error as shown on the screenshot.
Btw I am running vanilla on a subdirectory /forum with nginx.

0
Comments
Open up the JavaScript file at [your forum directory]/plugins/editor/js/editor.js and change line 1210
from:
var editorWidth = $(editor.textarea.element).width();to:
var editorWidth = $(editor).width();Now when you submit an image, the text field will be populated with a URL that looks like  ;)](https://open.vanillaforums.com/plugins/emojiextender/emoji/little/wink.png)
Fantastic work!!
This is happening again for me, but slightly different error message:
Anyone else seeing this?
2.2, Cloudy Pro theme.
I just had to change this line back in order for file upload to work. I am thoroughly confused.