Opened 15 years ago

Last modified 13 years ago

#4400 closed Bug

iframedialog not working correctly — at Initial Version

Reported by: wimpie3 Owned by:
Priority: Normal Milestone:
Component: General Version: 3.0
Keywords: Cc: wim.dewijngaert@…

Description

<script type="text/javascript" src="ckeditor/ckeditor.js"></script>

<textarea id="editor1" name="editor1">Test</textarea>

<script> CKEDITOR.plugins.add( 'iframedialog' ) ; var editor1=CKEDITOR.replace( 'editor1'); editor1.config.toolbar =Cut','Copy','Paste','-','MyButton? ;

editor1.on( 'pluginsLoaded', function( ev ) { if ( !CKEDITOR.dialog.exists( 'myDialog' ) ) {

CKEDITOR.dialog.addIframe( 'myDialog', 'title','http://www.google.be',500,400,function(){});

} editor1.addCommand( 'myDialogCmd', new CKEDITOR.dialogCommand( 'myDialog' ) ); editor1.ui.addButton( 'MyButton', { label : 'My Dialog', command : 'myDialogCmd', icon: 'http://thereality.nl/images/icons/icon_upload.png' } ); });

</script>

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