Opened 10 years ago

Last modified 9 years ago

#3999 confirmed Bug

It is impossible to remove Preview from Flash dialog

Reported by: Artur Formella Owned by:
Priority: Normal Milestone:
Component: UI : Dialogs Version:
Keywords: Cc:

Description

To reproduce:

  • Please add the following lines to samples/api_dialog.html:
    37. if ( dialogName == 'flash' )
    38. {
    39. 	var infoTab = dialogDefinition.getContents( 'info' );
    40. 	infoTab.remove( 'preview' );
    41. }
    
  • Add also 'Flash' to toolbar definition in the same file.
  • Open flash dialog.

Result: JS error:

dialog.getContentElement("info", "preview") is undefined
http://localhost/edytor/CKEditor/trunk/_source/plugins/flash/dialogs/flash.js
Line 324

Change History (2)

comment:1 Changed 10 years ago by Alfonso Martínez de Lizarrondo

Keywords: Confirmed added

comment:2 Changed 9 years ago by Frederico Caldeira Knabben

Milestone: CKEditor 3.x

Milestone CKEditor 3.x deleted

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