Skip to content

Commit

Permalink
[Iframe] add 'parameters' parameter (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ash-Crow authored Jun 17, 2024
1 parent dd25946 commit 9e4866b
Show file tree
Hide file tree
Showing 6 changed files with 25,907 additions and 102 deletions.
18,494 changes: 18,494 additions & 0 deletions blog/migrations/0018_alter_blogentrypage_body_alter_blogindexpage_body_and_more.py

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions content_manager/blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,11 @@ class IframeBlock(blocks.StructBlock):
help_text=_("Example for Tally: https://tally.so/embed/w2jMRa"),
)
height = blocks.IntegerBlock(label=_("Height (in pixels)"))
parameters = blocks.CharBlock(
label=_("Parameters"),
help_text=_("""For example: "allow='geolocation'"."""),
required=False,
)

class Meta:
icon = "globe"
Expand Down
Binary file modified content_manager/locale/fr/LC_MESSAGES/django.mo
Binary file not shown.
Loading

0 comments on commit 9e4866b

Please sign in to comment.