Opened 11 years ago

Last modified 10 years ago

#10065 confirmed Bug

[Webkit] Changing "Object Styles" of an image does not work properly

Reported by: mandius Owned by:
Priority: Normal Milestone:
Component: General Version: 4.0 Beta
Keywords: Webkit Blink Cc:

Description

The "Object Styles" of an image with a link cannot be changed.

Go to http://ckeditor.com/demo

  • Click on the image of the rocket.
  • Click on the Style drop-down menu and click "Styled image (left)". This works fine.
  • Now attach a link to the image (select it, click the link button on the toolbar and add a link).
  • Now try to change the object style ("Styled image (left)" or "Styled image (right)"). Nothing happens. The style is not changed / applied.

Change History (7)

comment:1 Changed 11 years ago by mandius

This is using Chrome (latest: 24.0.1312.57 m) on Windows 8 Pro 64-bit.

comment:2 Changed 11 years ago by Jakub Ś

Keywords: Webkit added; chrome image link removed
Version: 4.0.14.0

To reproduce:

  1. Paste one of below lines of code
    <h1><a href="http://test"><img alt="Saturn V carrying Apollo 11" class="left" src="assets/sample.jpg" /></a>n</h1>
    <h1><a href="http://test"><img alt="Saturn V carrying Apollo 11" class="right" src="assets/sample.jpg" /></a>n</h1>
    <p><a href="http://test"><img alt="Saturn V carrying Apollo 11" class="right" src="assets/sample.jpg" /></a>n</p>
    
  2. Click on image and try to assign different class to it.

Results:

  1. If there was no letter 'n' behind image this wouldn't be a problem
  2. If there was letter 'n' before image this wouldn't be a problem as well
  3. If there is letter 'n' or any letter behind image it is impossible to assign different class.

Problem can be reproduced from CKEditor 4.0 in Webkit browsers.

NOTE: in beta version it was not possible to assign different class at all. Once assigned class could not be 'turned off' or changed.

comment:3 Changed 11 years ago by Jakub Ś

Status: newconfirmed

comment:4 Changed 11 years ago by Jakub Ś

Summary: [Chrome] "Object Styles" of an image with a link cannot be changed[Webkit] "Object Styles" of an image with a link cannot be changed

#10232 was marked as duplicate

comment:5 Changed 11 years ago by Jakub Ś

Keywords: Blink added
Version: 4.04.0 Beta

#10904 was marked as duplicate.

Problem can be reproduced in Blink (Chrome and Opera 16) and Webkit.

comment:6 Changed 10 years ago by Piotr Jasiun

Summary: [Webkit] "Object Styles" of an image with a link cannot be changed[Webkit] Changing "Object Styles" of an image does not work properly

comment:7 Changed 10 years ago by Piotr Jasiun

Different scenario:

  1. Open "Replace by Class" sample.
  2. Select rocket image.
  3. Open style combo.
  4. Click on "Styled image (right)" (selected option).

Expected result: style will be removed like on IE or FF.

Actual behavior: nothing happen.

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