The page has a floated div and images inside the div. If we select an image and right click to get the context menu or click the image toolbar button, the image loses focus and you cannot modify its properties.

This issue we are experiencing sounds exactly like this closed ticket. It seems to only occur in IE 7,8. IE 9 is okay.

Comments

mkesicki’s picture

Status: Active » Postponed (maintainer needs more info)

Can you reproduce this issue on CKEditor library demo page (http://ckeditor.com/demo) ?

todea’s picture

Yes I can reproduce using the code below. Sometimes the context menu will appear when right clicking on the image, sometimes it doesn't. The img button in the toolbar consistently doesn't work, after clicking the button the focus is shifted to the floated div rather than the img.


<div style="float:left; width:350px">

           <h1><img alt="" src="http://a.cksource.com/c/1/inc/img/demo-little-red.jpg" style="width: 120px; float: left; height: 168px; margin-left: 10px; margin-right: 10px" />Little Red Riding Hood</h1>

<br><br>

<img alt="" src="http://www.google.com/intl/en_com/images/srpr/logo3w.png" style="margin-left: 10px; margin-right: 10px" />

<p>

            &quot;<b>Little Red Riding Hood</b>&quot; is a famous <a href="http://en.wikipedia.org/wiki/Fairy_tale" title="Fairy tale">fairy tale</a> about a young girl&#39;s encounter with a wolf. The story has been changed considerably in its history and subject to numerous modern adaptations and readings.</p>

<table border="1" cellpadding="1" cellspacing="1" style="width: 200px">

            <caption>

                        <strong>International Names</strong></caption>

            <tbody>

                        <tr>

                                    <td>

                                                Chinese</td>

                                    <td>

                                                <i>小紅帽</i></td>

                        </tr>

                        <tr>

                                    <td>

                                                Italian</td>

                                    <td>

                                                <i>Cappuccetto Rosso</i></td>

                        </tr>

                        <tr>

                                    <td>

                                                Spanish</td>

                                    <td>

                                                <i>Caperucita Roja</i></td>

                        </tr>

            </tbody>

</table>

<p>

            The version most widely known today is based on the <a href="http://en.wikipedia.org/wiki/Brothers_Grimm" title="Brothers Grimm">Brothers Grimm</a> variant. It is about a girl called Little Red Riding Hood, after the red <a href="http://en.wikipedia.org/wiki/Hood_%28headgear%29" title="Hood (headgear)">hooded</a> <a href="http://en.wikipedia.org/wiki/Cape" title="Cape">cape</a> or <a href="http://en.wikipedia.org/wiki/Cloak" title="Cloak">cloak</a> she wears. The girl walks through the woods to deliver food to her sick grandmother.</p>
</div>

 

<div style="float:left; width:250px">

<p>

            A wolf wants to eat the girl but is afraid to do so in public. He approaches the girl, and she na&iuml;vely tells him where she is going. He suggests the girl pick some flowers, which she does. In the meantime, he goes to the grandmother&#39;s house and gains entry by pretending to be the girl. He swallows the grandmother whole, and waits for the girl, disguised as the grandmother.</p>

<p>

            When the girl arrives, she notices he looks very strange to be her grandma. In most retellings, this eventually culminates with Little Red Riding Hood saying, &quot;My, what big teeth you have!&quot;<br />

            To which the wolf replies, &quot;The better to eat you with,&quot; and swallows her whole, too.</p>

<p>

            A <a href="http://en.wikipedia.org/wiki/Hunter" title="Hunter">hunter</a>, however, comes to the rescue and cuts the wolf open. Little Red Riding Hood and her grandmother emerge unharmed. They fill the wolf&#39;s body with heavy stones, which drown him when he falls into a well. Other versions of the story have had the grandmother shut in the closet instead of eaten, and some have Little Red Riding Hood saved by the hunter as the wolf advances on her rather than after she is eaten.</p>

<p>

            The tale makes the clearest contrast between the safe world of the village and the dangers of the <a href="http://en.wikipedia.org/wiki/Enchanted_forest" title="Enchanted forest">forest</a>, conventional antitheses that are essentially medieval, though no written versions are as old as that.</p>

</div>

mkesicki’s picture

Title: Image inside floating DIV looses selection with click of Context Menu or img toolbar button » [CKEDitor library] Image inside floating DIV looses selection with click of Context Menu or img toolbar button
Status: Postponed (maintainer needs more info) » Postponed

I will report this issue to CKEditor library developers.

mkesicki’s picture

Title: [CKEDitor library] Image inside floating DIV looses selection with click of Context Menu or img toolbar button » [CKEditor library] Image inside floating DIV looses selection with click of Context Menu or img toolbar button
Status: Postponed » Closed (won't fix)

Here are CKEditor's tickets with similar problems:
http://dev.ckeditor.com/ticket/7934
http://dev.ckeditor.com/ticket/7973
http://dev.ckeditor.com/ticket/7974
Please follow these tickets.