Changes between Initial Version and Version 1 of Ticket #6589


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

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6589

    • Property Status changed from new to review
  • Ticket #6589 – Description

    initial v1  
    88My proposal is to make the CKEDITOR.dialog.addIframe create automatically a function that will notify the inner window of the dialog events (load, ok and cancel), so the only requirement to specify a dialog are two lines, almost like any other dialog:
    99{{{
    10                 editor.addCommand( 'myPlugin', new CKEDITOR.dialogCommand( 'myPlugin' ) );
    11                 CKEDITOR.dialog.addIframe( 'myPlugin', "Plugin title", this.path + 'popup.html', 700, 470);
     10editor.addCommand( 'myPlugin', new CKEDITOR.dialogCommand( 'myPlugin' ) );
     11CKEDITOR.dialog.addIframe( 'myPlugin', "Plugin title", this.path + 'popup.html', 700, 470);
    1212}}}
    1313
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy