Socket
Book a DemoInstallSign in
Socket

@kitconcept/volto-iframe-block

Package Overview
Dependencies
Maintainers
8
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kitconcept/volto-iframe-block

volto-iframe-block: Volto Add-on

latest
Source
npmnpm
Version
2.3.2
Version published
Maintainers
8
Created
Source

Volto iFrame Block (@kitconcept/volto-iframe-block)

volto-iframe-block: Volto Add-on

npm Code analysis checks Unit tests

Features

Installation

To install your project, you must choose the method appropriate to your version of Volto.

Volto 17 and earlier

Create a new Volto project (you can skip this step if you already have one):

npm install -g yo @plone/generator-volto
yo @plone/volto my-volto-project --addon @kitconcept/volto-iframe-block
cd my-volto-project

Add @kitconcept/volto-iframe-block to your package.json:

"addons": [
    "@kitconcept/volto-iframe-block"
],

"dependencies": {
    "@kitconcept/volto-iframe-block": "*"
}

Download and install the new add-on by running:

yarn install

Start volto with:

yarn start

Volto 18 and later

Add @kitconcept/volto-iframe-block to your package.json:

"dependencies": {
    "@kitconcept/volto-iframe-block": "*"
}

Add @kitconcept/volto-iframe-block to your volto.config.js:

const addons = ['@kitconcept/volto-iframe-block'];

If this package provides a Volto theme, and you want to activate it, then add the following to your volto.config.js:

const theme = '@kitconcept/volto-iframe-block';

Test installation

Visit http://localhost:3000/ in a browser, login, and check the awesome new features.

Block configuration

validUrls allows you to restrict the use of the iFrame block by restricting the URLs that editors are allowed to embed in the iframe. If an unvalid URL is entered, an error is thrown.

config.blocks.blocksConfig.iframe.validUrls = [''];

License

The project is licensed under the MIT license.

Keywords

volto-addon

FAQs

Package last updated on 19 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts