Opened 7 years ago

Closed 7 years ago

#9651 closed Bug (fixed)

Object styles are not being applied

Reported by: Frederico Caldeira Knabben Owned by: Garry Yao
Priority: Normal Milestone: CKEditor 4.0
Component: Core : Styles Version: 4.0
Keywords: Webkit Cc:

Description

  1. Open the replacebyclass sample.
  2. Select the image.
  3. On the Styles combo, select "Image on Right".

BUG: Nothing happens.

  1. Go source.
  2. Remove the "style" attribute from the image.
  3. Back to wysiwyg, repeat steps 2 and 3.

It works now.

  1. On the Styles combo, select "Image on Left".

BUG: Nothing happens.

This makes me think that the editor is not applying styles is there is any conflict between the style definition and the styles present in the editor.

Change History (6)

comment:1 Changed 7 years ago by Garry Yao

Keywords: Webkit added
Status: newconfirmed

Affects only Webkit.

comment:2 Changed 7 years ago by Garry Yao

Owner: set to Garry Yao
Status: confirmedreview

Opened dev branch t/9651 for review.

comment:3 Changed 7 years ago by Piotrek Koszuliński

Status: reviewreview_failed

Everything looks fine now, except one thing:

  1. select image.
  2. set image on right.
  3. set image on left.
  4. open style combo again - both styles are active (reproducible on FF and Chrome).

comment:4 Changed 7 years ago by Garry Yao

Status: review_failedreview

The above issue is not relevant to this ticket, but as it's seen as an obvious mistaken, we may have it considered at this point.

comment:5 Changed 7 years ago by Piotrek Koszuliński

Status: reviewreview_passed

comment:6 Changed 7 years ago by Garry Yao

Resolution: fixed
Status: review_passedclosed
Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy