Ticket #7940 (review Bug)

Opened 3 years ago

Last modified 15 months ago

Fake object can be styled as images

Reported by: Saare Owned by: j.swiderski
Priority: Normal Milestone:
Component: General Version: 3.0
Keywords: Cc:

Description (last modified by Saare) (diff)

  • Insert a flash object, with some height and width.
  • Click on the image.
  • Open the styles combo and see that image styling options are available.
  • Click on "image on the right". See that the image's dimensions get reset.

Attachments

7940.patch (634 bytes) - added by j.swiderski 15 months ago.

Change History

comment:1 Changed 3 years ago by Saare

  • Description modified (diff)

comment:2 Changed 3 years ago by j.swiderski

  • Status changed from new to confirmed
  • Version set to 3.0

The size stays the same but the image (placeholder) representing flash gets resized.

This has been true from version 3.0;

NOTE: I you want to paste ready flash in source mode then the image representing it will be visible in WYSIWYG only from version 3.5.3.

comment:3 Changed 15 months ago by j.swiderski

Fix to this issue might be:

In CKEditor GIT reporsitory (https://github.com/ckeditor/ckeditor-dev) go to:
ckeditor4\plugins\stylescombo\plugin.js
Line 155

change

if ( !counter[ CKEDITOR.STYLE_OBJECT ] )
this.hideGroup( lang[ 'panelTitle' + String( CKEDITOR.STYLE_OBJECT ) ] );

to

if ( !counter[ CKEDITOR.STYLE_OBJECT ] || ( element && element.data( 'cke-realelement' ) ) )
							this.hideGroup( lang[ 'panelTitle' + String( CKEDITOR.STYLE_OBJECT ) ] );
Last edited 15 months ago by j.swiderski (previous) (diff)

comment:4 Changed 15 months ago by j.swiderski

  • Status changed from confirmed to assigned
  • Owner set to j.swiderski

Changed 15 months ago by j.swiderski

comment:5 Changed 15 months ago by j.swiderski

  • Status changed from assigned to review
Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy