How do you make the edit-block dialog full screen?

Permalink
Hi everyone,

I am building a new block type, and want to make use of all available screen space when adding/editing the block.

I know there are variables
$btInterfaceWidth
and
$btInterfaceHeight
in the block controller for me to define the width and height of the dialog in pixels.

But is there any js event to which I can attach a listener that is fired after the edit-block dialog pops up? Or is there any other workaround solution?

Thanks in advance.

 
linuxoid replied on at Permalink Reply
linuxoid
ChesterZhang replied on at Permalink Reply
Hi linuxoid, thanks for your reply.

I thought that was a list of server side events, and therefore might not be what I am looking for here.

I am trying to find a way to intercept the default behavior when we drop a new block to an area and when we click the edit block, so that I can manipulate the size of that dialog/modal. I guess it would be done somehow at the front end.