Opened 10 years ago

Last modified 10 years ago

#11274 confirmed Bug

Flash placeholder change size after copy and paste in image2 sample

Reported by: Piotr Jasiun Owned by:
Priority: Normal Milestone:
Component: General Version: 4.3 Beta
Keywords: Cc:

Description

  1. Open any browser (tested with IE8 and Chrome).
  2. Go to "New Image plugin" sample.
  3. Insert flash with dimensions (ex. 500 width; 500 height).
  4. Select placeholder cut it and paste somewhere.

Result: placeholder changes size.

Moreover if you do not set dimensions of flash after cut & paste you will get width = 1 and height = 1.

Also in "Replace by class" sample everything is ok.

Change History (1)

comment:1 Changed 10 years ago by Piotrek Koszuliński

Status: newconfirmed
Version: 4.34.3 Beta

It happens because image2 uses a width,height style to attribute transformations for images. So there's a conflict, because fakeobject uses styles and have some "defaults" set in stylesheet. Those defaults overwrite dimensions set using attributes, so all pasted fakeobjects are 80x80.

I think that this issue is a part of bigger one. Fakeobject is outdated in general and perhaps it should become a widget one day.

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