Type: embed

Editable: false

Tags: figure

Any code placed in a figure (except the image) will become an embed block. This can be tweet, instagram, video, google map, etc.

    <iframe src="https://www.youtube.com/embed/...">

Also embed can be iframe not wrapped in figure.

<iframe src="..">

getEmbedCode #

Return the embed html code.

var instance = this.app.block.get();
var code = instance.getEmbedCode();

isResponsive #

Checks if the embed inside responsive layer (true or false).

var instance = this.app.block.get();
var is = instance.isResponsive();