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

  1. 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
  2. Upload an image to the cck image field
  3. Click the "insert" button to insert the image into the wysiwyg field
  4. Type some text into the autocomplete field
  5. Use arrow keys (keyboard) to make a selection
  6. Press ENTER / RETURN key to select referenced item
  7. 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

twod’s picture

Hmm, 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.

twod’s picture

Issue summary: View changes
Status: Active » Closed (cannot reproduce)

Is this problem still reproducible?
If so, please re-open this issue.