Opened 12 years ago

Last modified 12 years ago

#9111 confirmed Bug

Anchor displayed as inline-block in IE

Reported by: Jean-François Côté Owned by:
Priority: Normal Milestone:
Component: General Version: 3.0
Keywords: IE8 IE9 Cc:

Description

When using a template that renders an anchor in display: inline-block, it's impossible to edit the content of this anchor. The problem occurs in IE8/9, not Firefox of Chrome.

The Source is :

<p><a class="file file_doc" href="#">Document PowerPoint</a></p>

The CSS is :

.editor .file {

display: inline-block; padding: 2px 0 2px 22px;

}

.editor a.file_ppt {

background:url(/bundles/projectfrontendcore/images/ul/icones/ppt.gif) no-repeat 0 1px;

}

Attachments (1)

Screen Shot 2012-07-10 at 11.53.37 AM.png (17.4 KB) - added by Jean-François Côté 12 years ago.

Download all attachments as: .zip

Change History (5)

Changed 12 years ago by Jean-François Côté

comment:1 Changed 12 years ago by Jakub Ś

Keywords: IE anchor removed
Resolution: duplicate
Status: newclosed

DUP of #8525.

As written in #8525

If instead of using the context menu the toolbar is used then it works correctly, as well as double clicking.

comment:2 Changed 12 years ago by Jean-François Côté

In fact, when I wrote "to edit" the content of the link, I meant to change the text in the anchor, I'm not trying to edit the properties of this link.

So, I don't think this issue duplicates #8525.

comment:3 Changed 12 years ago by Jakub Ś

Resolution: duplicate
Status: closedreopened

comment:4 Changed 12 years ago by Jakub Ś

Keywords: IE8 IE9 added
Status: reopenedconfirmed
Version: 3.6.33.0

@tiois Thank you for providing more details.

To reproduce:

  1. Paste the below into Source mode and switch to WYSIWYG
    <a href="http://p2.pl" style="display: inline-block;">http://p2.pl</a>
    
  2. In IE8 or IE9 try to change the text of the link by clicking on it and typing text.

Result: You can't.

NOTE: In IE6-7 you can do it after you click on such link for the second time.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy