1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 23:59:47 +02:00

Provide generic IFrame section for documents

Closes #352
This commit is contained in:
sauls8t 2019-12-09 12:31:44 +00:00
parent accf0a2c63
commit 1a89201bd9
9 changed files with 134 additions and 0 deletions

View file

@ -0,0 +1,12 @@
{{layout/logo-heading
title="IFrame"
desc="Embed an IFrame"
icon=constants.Icon.Integrations}}
{{#section/base-editor document=document folder=folder page=page isDirty=(action "isDirty") onCancel=(action "onCancel") onAction=(action "onAction")}}
<div class="form-group">
<label for="iframe-embed-code">IFrame embed code</label>
{{textarea value=data rows="10" id="iframe-embed-code" class="form-control mousetrap" placeholder="Enter code" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"}}
<small class="form-text text-muted">Paste the iframe code snippet</small>
</div>
{{/section/base-editor}}

View file

@ -0,0 +1,3 @@
<div class="non-printable">
{{{page.body}}}
</div>