add iframe block
This commit is contained in:
@@ -82,6 +82,8 @@ code { font-family: Kobata !important; font-weight: normal; word-break: break-wo
|
|||||||
video { width: 100%; }
|
video { width: 100%; }
|
||||||
.embeded-iframe { border: none; width: 100% }
|
.embeded-iframe { border: none; width: 100% }
|
||||||
|
|
||||||
|
iframe.iframe { width: 100%; min-height: 600px; border: none }
|
||||||
|
|
||||||
.siema { position: relative; transition: height .2s }
|
.siema { position: relative; transition: height .2s }
|
||||||
.siema button { position: absolute; top: 50%; background: #fff; color: var(--blue); border: none; font-size: 1rem; margin: 0; opacity: 0; transition: opacity .5s }
|
.siema button { position: absolute; top: 50%; background: #fff; color: var(--blue); border: none; font-size: 1rem; margin: 0; opacity: 0; transition: opacity .5s }
|
||||||
.siema button:hover { cursor: pointer; }
|
.siema button:hover { cursor: pointer; }
|
||||||
|
|||||||
9
site/blueprints/blocks/iframe.yml
Normal file
9
site/blueprints/blocks/iframe.yml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
name: IFrame
|
||||||
|
icon: url
|
||||||
|
wysiwyg: true
|
||||||
|
preview: fields
|
||||||
|
label: false
|
||||||
|
fields:
|
||||||
|
url:
|
||||||
|
label: URL of Website to embed
|
||||||
|
type: url
|
||||||
@@ -53,4 +53,5 @@ tabs:
|
|||||||
- twitch
|
- twitch
|
||||||
- video
|
- video
|
||||||
- texts
|
- texts
|
||||||
|
- iframe
|
||||||
settings: fields/block_settings
|
settings: fields/block_settings
|
||||||
|
|||||||
Reference in New Issue
Block a user