Seeing a strange bug in IE8 w/TinyMCE - WYSIWYG_Image_Upload will only insert images to the 1st character of the 1st line. In other words, if there are 3 lines of text, and I place the cursor after the 2nd line and use WYSIWYG_Image_Upload to upload an image, the image appears ABOVE the first line of text, rather than between the 2nd and 3rd line of text.

I can confirm this is NOT a TinyMCE/WYSIWYG problem, as if you insert using the "normal" insert/edit image button (i.e. insert image using a URL), the image inserts properly where the cursor is.

Using: JQuery_UI_Dialog 6.x-1.9, jQuery Update 6.x-2.x-dev (2010-Apr-23), jQuery UI 6.x-1.3, Wysiwyg 6.x-2.x-dev, TinyMCE 3.3.8

Comments

EugenMayer’s picture

Priority: Normal » Minor

I mark all IE bugs as minor.

Is this also valid for other browsers or only happening for IE?

newmediaist’s picture

Only IE as far as I can tell - Firefox/Chrome seem fine

IE is such a pain in the A*S! Too bad more than 50% of my visitors use it ( http://en.wikipedia.org/wiki/File:Web_browser_usage_share.svg )

EugenMayer’s picture

Can you please try a different editor like CKeditor (should take you less tehen 5 minutes to configure).

I most probably expect this to be a WYSIWYG issue, as iam not positioning anything or even can do. The build in plugins work, because they dont use the WYSIWYG api at all.

newmediaist’s picture

Just tested a few other editors - It looks like it works fine on some editors, but not others, meaning it is a WYSIWYG issue after all I assume?

EugenMayer’s picture

Project: WYSIWYG image upload - Inline images for your WYSIWYG » Wysiwyg
Version: 6.x-2.0 » 6.x-2.1
Component: Code » Editor - TinyMCE
Priority: Minor » Normal

Yes thats what i have expected. Inserting elements is going through WYSIWYG api, iam only calling amethod. I cant influence where it gets inserted, its defined by "the element, which got selected last".
Moving over to WYSIWYG for more clarificatios.

newmediaist’s picture

I started another thread on this topic in WYSIWYG - just to avoid duplication, here is the URL:
http://drupal.org/node/857362

TwoD’s picture

Status: Active » Closed (duplicate)

Marking this a duplicate of #857362: Add support for selection bookmarks. Please keep further discussion in that issue.