Opened 16 years ago

Last modified 15 years ago

#4401 closed Bug

Link removeContents of upload tab not working — at Initial Version

Reported by: wimpie3 Owned by:
Priority: Normal Milestone: CKEditor 3.1
Component: UI : Dialogs Version: 3.0
Keywords: Confirmed Review+ Cc: wim.dewijngaert@…

Description

Whe using the function below, the LINK dialog isn't shown anymore (javascript error). Comment out the line "dialogDefinition.removeContents( 'upload' );" and everything works again.

CKEDITOR.on( 'dialogDefinition', function( ev ) {

var dialogName = ev.data.name; var dialogDefinition = ev.data.definition; if ( dialogName == 'link' ) {

dialogDefinition.removeContents( 'advanced' ); dialogDefinition.removeContents( 'upload' );

}

});

Find this issue on GitHub

Change History (0)

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