iframe-resizer for HTML Block
Extends the HTML block with a setting to enable iframe resizing.
by required · github.com/wearerequired/iframe-resizer-for-html-block · website
★ 2stars
2forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/wearerequired/iframe-resizer-for-html-block/archive/refs/heads/master.zipDeclares an update source (false), so updates arrive through the plugin's own updater.
From the readme
iframe-resizer for HTML Block
Extends the HTML block with a setting to enable iframe resizing via iframe-resizer.
Plugin Development
Run composer i to install plugin dependencies. (Normally only needed when not a dependency of a project.)
composer format: Fixes automatic fixes PHP coding standard issues.
composer lint: Checks PHP files for coding standard issues.
composer analyze: Run static analysis.
Block Development
There are several commands to assist you with local development of the plugin.
To install the needed packages, go into the plugin folder and run npm install.
After that, use npm run to run a command. The following commands are available:
npm run build: Runs all the JavaScript files in assets/js/src through webpack. The resulting JS files are saved in assets/js/dist.
npm run start: Looks for any changes to the JS & CSS files and runs the build command if necessary. Ideal during development when you want to see your changes as quickly as possible in the browser.
npm run lint-js: Checks JS files for coding standard issues.
npm run lint-js:fix: Fixes automatic fixable JS coding standard issues.
npm run lint-css: Checks JS files for coding standard issues
Read the full README on GitHub →
Releases
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.