DialogShowEvent
typedef
An event fired after show is called. You can use it to customize the behavior of any dialog.
import { DialogViewPosition } from '@ckeditor/ckeditor5-ui';
// ...
// Changes the position of the "Find and Replace" dialog.
editor.plugins.get( 'Dialog' ).on( 'show:findAndReplace', ( evt, data ) => {
Object.assign( data, { position: DialogViewPosition.EDITOR_BOTTOM_CENTER } );
}, { priority: 'high' } );
Copy code
Properties
Value
object