Changes between Initial Version and Version 4 of Ticket #4400


Ignore:
Timestamp:
Nov 1, 2010, 3:13:28 PM (13 years ago)
Author:
Alfonso Martínez de Lizarrondo
Comment:

The correct way to load the iframedialog is to specify it in the extraPlugins configuration:

var editor1=CKEDITOR.replace( 'editor1', {
	toolbar : [['Cut','Copy','Paste','-','MyButton']],
	extraPlugins : 'iframedialog'
	});

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4400

    • Property Status changed from new to closed
    • Property Cc wim.dewijngaert@… added
    • Property Priority changed from High to Normal
    • Property Milestone changed from CKEditor 3.1 to
    • Property Resolution changed from to invalid
  • Ticket #4400 – Description

    initial v4  
     1{{{
    12<script type="text/javascript" src="ckeditor/ckeditor.js"></script>
    23
     
    1314}
    1415editor1.addCommand( 'myDialogCmd', new CKEDITOR.dialogCommand( 'myDialog' ) );
    15 editor1.ui.addButton( 'MyButton', { label : 'My Dialog', command : 'myDialogCmd', icon: 'http://thereality.nl/images/icons/icon_upload.png' } );
     16editor1.ui.addButton( 'MyButton',
     17{ label : 'My Dialog', command : 'myDialogCmd', icon: 'http://thereality.nl/images/icons/icon_upload.png' }
     18 );
    1619});
    1720
    1821</script>
     22}}}
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy