Changeset 2455938
- Timestamp:
- 01/13/2021 09:31:54 PM (5 years ago)
- Location:
- responsive-iframe
- Files:
-
- 42 added
- 2 edited
-
tags/1.0 (added)
-
tags/1.0.1 (added)
-
tags/1.0.1/dist (added)
-
tags/1.0.1/dist/blocks.build.js (added)
-
tags/1.0.1/dist/blocks.editor.build.css (added)
-
tags/1.0.1/dist/blocks.style.build.css (added)
-
tags/1.0.1/license.txt (added)
-
tags/1.0.1/package.json (added)
-
tags/1.0.1/plugin.php (added)
-
tags/1.0.1/readme.txt (added)
-
tags/1.0.1/src (added)
-
tags/1.0.1/src/block (added)
-
tags/1.0.1/src/block/block.js (added)
-
tags/1.0.1/src/block/editor.scss (added)
-
tags/1.0.1/src/block/inspector.js (added)
-
tags/1.0.1/src/block/style.scss (added)
-
tags/1.0.1/src/blocks.js (added)
-
tags/1.0.1/src/common.scss (added)
-
tags/1.0.1/src/init.php (added)
-
tags/1.0.1/src/js (added)
-
tags/1.0.1/src/js/constants.js (added)
-
tags/1.0.1/src/js/responsiveIframe.js (added)
-
tags/1.0/dist (added)
-
tags/1.0/dist/blocks.build.js (added)
-
tags/1.0/dist/blocks.editor.build.css (added)
-
tags/1.0/dist/blocks.style.build.css (added)
-
tags/1.0/license.txt (added)
-
tags/1.0/package.json (added)
-
tags/1.0/plugin.php (added)
-
tags/1.0/readme.txt (added)
-
tags/1.0/src (added)
-
tags/1.0/src/block (added)
-
tags/1.0/src/block/block.js (added)
-
tags/1.0/src/block/editor.scss (added)
-
tags/1.0/src/block/inspector.js (added)
-
tags/1.0/src/block/style.scss (added)
-
tags/1.0/src/blocks.js (added)
-
tags/1.0/src/common.scss (added)
-
tags/1.0/src/init.php (added)
-
tags/1.0/src/js (added)
-
tags/1.0/src/js/constants.js (added)
-
tags/1.0/src/js/responsiveIframe.js (added)
-
trunk/plugin.php (modified) (1 diff)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
responsive-iframe/trunk/plugin.php
r2419638 r2455938 6 6 * Author: PatrickPelayo 7 7 * Author URI: https://www.PatrickP.Tech/ 8 * Version: 1.0. 08 * Version: 1.0.1 9 9 * License: GPL2+ 10 10 * License URI: https://www.gnu.org/licenses/gpl-2.0.html -
responsive-iframe/trunk/readme.txt
r2445803 r2455938 4 4 Requires at least: 5.4.2 5 5 Tested up to: 5.6.0 6 Stable tag: 1.0. 06 Stable tag: 1.0.1 7 7 Requires PHP: 7.0 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html 10 10 11 A Responsive iframe 11 Lets you place Iframes into your posts that will resize dynamically to maintain the same apperance. 12 12 13 13 == Description == 14 A n iframe that will look the same regardless of the width of the page.14 A Responsive Iframe that will resize itself to its parent element. 15 15 16 16 = Instructions = 17 From the block editor under embed select Responsive iframes your website will display by default, with some default settings. 18 17 18 = Install = 19 The *plugin manager* is located on the *administration page*. From the *administration page* in the left side bar click *Plugins*. From the top of the page click *add new*. 20 21 Install the plugin thru the *plugin manager*, or upload it as a zip file into the *plugin manager*. 22 23 = Use = 24 25 * **Apply responsive iframe** 26 Create a post like you normally would and then click the + icon displayed to *Add block*. Find *Responsive iframes* and click it. 27 By default your current website will be displayed in the iframe. 28 29 * **Block Settings** 19 30 Site Address - The url address of the website you want to iframe 20 21 31 Width - This represents the actual width you want to display from the iframed website. 22 23 Height - This represents the actual height you want to display from the iframed website. 24 32 Height - This represents the actual height you want to display from the iframed website. 25 33 Scrollbar - Displays a scroll bar if the height,and width are smaller than the iframe website. 26 27 Border - Dislays a default border around the iframe element. 28 29 Scale - This will change the max-width percentage of the iframe's parent element, it will allow the element to be scaled by size. 30 31 32 Additional CSS - Any additional CSS will be applied to the iframe's parent element. 33 34 = Technical Stuff for Developers = 35 > This section provides a technical overview of the plugin. 36 37 The plugin was created thru the use of [Create-Guten-Block](https://github.com/ahmadawais/create-guten-block) package that can be obtained thru NPM. 38 39 The source files can be found in the src folder. 40 * responsiveIframe.js is the file that makes the iframes responsive from the post page. 41 42 43 * constants.js hold the constants that are plugin wide. 44 45 46 * block.js registers the block and handles the edit and save functions. 47 Any iframe responsiveness in the block editor is handled by the block.js. 48 49 50 * inspector.js solely defines the inspector sidebar, this is used within block.js. 34 Border - Dislays a default border around the iframe element. 35 Scale - This will change the max-width percentage of the iframe's parent element, it will allow the element to be scaled by size. 36 Additional CSS - Any additional CSS will be applied to the iframe's parent element. Use this to provide some additional styling. 51 37 52 38 == Screenshots == … … 57 43 == Changelog == 58 44 45 = 1.0.1 = 46 * updates the readme, and fixes my website link in plugin.php 47 59 48 = 1.0 = 60 49 * first release … … 62 51 == Upgrade Notice == 63 52 53 = 1.1 = 54 * update optional, only changes readme and fixes my website link in plugin.php 55 64 56 = 1.0 = 65 57 * first release 66 58 67 59 == Frequently Asked Questions == 60 61 = How do I access the block settings = 62 63 In the page where you create a post, in the top right corner next to update/publish is a cog wheel that allows you to edit block settings. 68 64 69 65 = In the editor I can't click on the iframe =
Note: See TracChangeset
for help on using the changeset viewer.