wymeditor/wymeditor — pull request #400 by FriedRice (2013-06-19 14:02:47+00:00)
Title: Chrome/Chromium image insertion fails if no text has been typed into a wymeditor instance

This bug is on 0.5 stable with jQuery 1.71 and the refine skin (https://github.com/joshmcarthur/wymeditor-refine). It only appears to happen in Chrome/Chromium (on both Windows and Linux), all other browsers seem to be unaffected.

If text has not been typed into a wymeditor instance, clicking the insert image button and attempting to insert an image will insert an image with the source "wym-{current_timestamp}". This behaviour will then persist until next page load.

If text is typed into the wymeditor instance before an image insertion is attempted, it will work successfully (even if the text is deleted before the attempt).