Pre-requisites
- wysiwyg latest 6.x-2.x-dev
- insert latest 6.x-1.1
- Any wysiwyg profile (confirmed with CKEditor and TinyMCE)
- Any autocomplete field (The "author" field, or a cck nodereference field using autocomplete widget)
Reproduce
- Load a node edit form that contains:
- An autocomplete field
- A cck image field using insert module
- A field using a wysiwyg profile with visual editor
- Upload an image to the cck image field
- Click the "insert" button to insert the image into the wysiwyg field
- Type some text into the autocomplete field
- Use arrow keys (keyboard) to make a selection
- Press ENTER / RETURN key to select referenced item
- Instead of selecting the autocomplete item, the image is re-inserted into the wysiwyg.
This issue only presents itself when a visual editor is in use.
If the rich text editor is disabled, the autocomplete functions properly.
I have verified this concern using nodereference autocomplete and author autocomplete, which leads me to believe that this is a conflict with core autocomplete.
Further, I imagine that insert module is not the only one to expose this issue, but it is where I have run into it so far.
I'd offer a patch but I'm thoroughly lost in javascript / iframe voodoo.
Comments
Comment #1
twodHmm, I thought these problems got fixed with #679056: ENTER in autocomplete widget disables tinymce. Will try to reproduce the issue using these steps and modules and get back later.
Comment #2
twodIs this problem still reproducible?
If so, please re-open this issue.