Thread:Extension talk:WYSIWYG/Working WYSIWYG available for MW 1.20.7 (integrated with new wikitext editor)/reply

Thank you Ciges for uploading a version of WYSIWYG that works with MW 1.20.7. This is the best version of WYSIWYG I have tried in any version of MW. However there is still an issue with the insert image functionality. When you perform a search on an image file everything works great as long as the image you're looking for isn't the first one on the list. If the search only returns a single image, or if the image you're looking for is first in the list, then the the preview doesn't work and only a tiny thumbnail image is inserted. It appears that the first item in the list of images returned from the search has an extra space before the filename and this prevents the code from finding the correct file. Does anyone know which bit of code needs to be updated so that the image search function works as intended?