generateblocks
Last commit date
assets
5 years ago
dist
4 years ago
includes
4 years ago
src
4 years ago
plugin.php
4 years ago
readme.txt
4 years ago
readme.txt
282 lines
| 1 | === GenerateBlocks === |
| 2 | Contributors: edge22 |
| 3 | Donate link: https://generateblocks.com |
| 4 | Tags: blocks, gutenberg, container, headline, grid, columns, page builder, wysiwyg, block editor |
| 5 | Requires at least: 5.4 |
| 6 | Tested up to: 5.8 |
| 7 | Requires PHP: 5.6 |
| 8 | Stable tag: 1.4.0 |
| 9 | License: GPLv2 or later |
| 10 | License URI: http://www.gnu.org/licenses/gpl-2.0.html |
| 11 | |
| 12 | A small collection of lightweight WordPress blocks that can accomplish nearly anything. |
| 13 | |
| 14 | == Description == |
| 15 | |
| 16 | https://vimeo.com/412896611 |
| 17 | |
| 18 | Add incredible versatility to your editor without bloating it with tons of one-dimensional Gutenberg blocks. With GenerateBlocks, you can learn a handful of blocks deeply and use them to build anything. |
| 19 | |
| 20 | [GenerateBlocks](https://generateblocks.com?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) works hand-in-hand with [GeneratePress](https://generatepress.com?utm_source=wp-repo&utm_medium=link&utm_campaign=generateblocks-readme), but is built to work with any theme. |
| 21 | |
| 22 | Looking for more features? Check out [GenerateBlocks Pro](https://generateblocks.com/pro?utm_source=wp-repo&utm_medium=link&utm_campaign=readme). |
| 23 | |
| 24 | = Container = |
| 25 | |
| 26 | Organize your content into rows and sections. The Container block is the foundation of your content, allowing you to design unique sections for your content. |
| 27 | |
| 28 | = Grid = |
| 29 | |
| 30 | Create advanced layouts with flexible grids. The Grid block gives you the ability to create any kind of layout you can imagine. |
| 31 | |
| 32 | = Headline = |
| 33 | |
| 34 | Craft text-rich content with advanced typography. Everything from headings to paragraphs - take full control of your text. |
| 35 | |
| 36 | = Buttons = |
| 37 | |
| 38 | Drive conversions with beautiful buttons. |
| 39 | |
| 40 | = Performance = |
| 41 | |
| 42 | We take performance seriously. Minimal CSS is generated only for the blocks you need, and our HTML structure is as simple as possible while allowing for maximum flexibility. |
| 43 | |
| 44 | = Coding standards = |
| 45 | |
| 46 | Built to the highest coding standards for security, stability and future compatibility. |
| 47 | |
| 48 | = Fully responsive = |
| 49 | |
| 50 | Every block comes with tablet and mobile controls, giving you total control of your responsive design. |
| 51 | |
| 52 | = Documentation = |
| 53 | |
| 54 | Check out our [documentation](https://docs.generateblocks.com) for more information on the individual blocks and how to use them. |
| 55 | |
| 56 | == Installation == |
| 57 | |
| 58 | There's two ways to install GenerateBlocks. |
| 59 | |
| 60 | 1. Go to "Plugins > Add New" in your Dashboard and search for: GenerateBlocks |
| 61 | 2. Download the .zip from WordPress.org, and upload the folder to the `/wp-content/plugins/` directory via FTP. |
| 62 | |
| 63 | In most cases, #1 will work fine and is way easier. |
| 64 | |
| 65 | == Frequently Asked Questions == |
| 66 | |
| 67 | = How do I add your blocks to my page? = |
| 68 | |
| 69 | * Create a new page or post |
| 70 | * Add a new block, and look for the "GenerateBlocks" category |
| 71 | * Choose your block and start building. |
| 72 | * It's always best to start with a Container block. |
| 73 | |
| 74 | = What theme should I use? = |
| 75 | |
| 76 | GenerateBlocks was built to work hand-in-hand with [GeneratePress](https://generatepress.com). However, it will work with any theme you choose. |
| 77 | |
| 78 | == Changelog == |
| 79 | |
| 80 | = 1.4.0 = |
| 81 | * New: Add flex (flex-grow, flex-shrink, flex-basis) options to grid item containers |
| 82 | * New: Add "auto" width option to grid item containers on tablet and mobile |
| 83 | * New: Allow CSS variables in color picker component |
| 84 | * New: Use built-in color transparency in color picker component |
| 85 | * Tweak: Improve design of empty Container blocks |
| 86 | * Tweak: Remove Container padding defaults |
| 87 | * Tweak: Remove grid gap default |
| 88 | * Tweak: Remove gradient defaults |
| 89 | * Tweak: Remove grid item width defaults |
| 90 | * Tweak: Make Button Container stack & fill options device-specific |
| 91 | * Tweak: Stop auto-adding z-index to Container when using pseudo gradients |
| 92 | * Tweak: Only output shorthand CSS values if all fields are set |
| 93 | * Tweak: Add missing tablet "order" property from editor CSS |
| 94 | * Tweak: Improve unique ID generation |
| 95 | * Tweak: Remove GeneratePress full width option from Container block |
| 96 | * Tweak: Replace advanced typography attribute with local storage |
| 97 | * Tweak: Allow for empty Container padding values |
| 98 | * Tweak: Check for FS_CHMOD_FILE constant in external css file |
| 99 | * Tweak: Force inline CSS on single posts |
| 100 | * Tweak: Remove "Select Grid" button from grid item Containers |
| 101 | * Tweak: Allow for no value in grid item width field |
| 102 | * Tweak: Allow zero values for minHeight on devices |
| 103 | * Tweak: Add new block on Enter key in Headline block |
| 104 | * Tweak: Remove relative protocol from Google Fonts requests |
| 105 | * Fix: Responsive border-radius when using pseudo backgrounds |
| 106 | * Fix: Buttons alignment in the editor |
| 107 | * Fix: Container tag name accepting any value |
| 108 | * Fix: Missing align wide/full options when using block themes |
| 109 | |
| 110 | = 1.3.5 = |
| 111 | * Fix: Error saving classic widgets in Customizer |
| 112 | * Fix: Console error in widget editor due to core/edit-post |
| 113 | * Tweak: Remove wp-editor dependency from widget editor |
| 114 | |
| 115 | = 1.3.4 = |
| 116 | * New: Integrate with the new widget block editor |
| 117 | * Fix: Memory leak when reusable blocks try to render inside themselves |
| 118 | * Tweak: Use new block_categories_all filter in WP 5.8 |
| 119 | |
| 120 | = 1.3.3 = |
| 121 | * Fix: Constant re-rendering of SVG icons in code editor |
| 122 | * Fix: Broken CSS when empty/non-published re-usable blocks are on the page |
| 123 | * Tweak: Add missing text domains |
| 124 | |
| 125 | = 1.3.2 = |
| 126 | * New: Add generateblocks.editor.buttonDisableFormatting filter |
| 127 | * Fix: Error when using em unit on a div headline |
| 128 | * Fix: Icon button spacing in WP 5.7 |
| 129 | * Fix: Responsive block borders when no desktop border is set |
| 130 | * Tweak: Prevent Global Styles (Pro) from regenerating unique ID |
| 131 | * Tweak: Integrate Grid block with Global Styles (Pro) |
| 132 | * Tweak: Always inline CSS on AMP pages to avoid needing to fetch |
| 133 | * Tweak: Adjust editor grid class name to prevent Sass build error |
| 134 | |
| 135 | = 1.3.1 = |
| 136 | * Tweak: Apply generateblocks.editor.cssAttrs filter to backgrounds |
| 137 | |
| 138 | = 1.3.0 = |
| 139 | * New: Add generateblocks.editor.cssAttrs filter |
| 140 | * New: Add generateblocks_headline_selector_tagname filter |
| 141 | * New: Add generateblocks.editor.panelContents filter |
| 142 | * New: Add Add generateblocks.frontend.containerTagName filter |
| 143 | * New: Add generateblocks.editor.headlineDisableFormatting filter |
| 144 | * New: Add generateblocks.editor.beforeHeadlineElement filter |
| 145 | * New: Add generateblocks.editor.urlInputMoreOptions filter |
| 146 | * New: Admin header |
| 147 | * Fix: Fix gradient when no stop value is found |
| 148 | * Fix: Translations in the editor |
| 149 | * Fix: Force inner container z-index when pseudo in use |
| 150 | * Fix: Headline text input when has icon but no text |
| 151 | * Tweak: Merge bg image and gradient controls into one tab |
| 152 | * Tweak: Prepare for Global Styles in Pro |
| 153 | * Tweak: Remove duplicate .gb-container class from CSS |
| 154 | * Tweak: Add script translations file for settings JS |
| 155 | * Tweak: Hide color picker label element if no label |
| 156 | * Tweak: Update domPurify |
| 157 | * Tweak: Import WP packages instead of defining them |
| 158 | * Tweak: Add border-radius to pseudo background image elements |
| 159 | * Tweak: Change Element Tag label to Tag Name |
| 160 | * Tweak: Add placeholder to Headline block |
| 161 | * Tweak: Remove add grid item button from toolbar when selecting layout |
| 162 | |
| 163 | = 1.2.0 = |
| 164 | * Markup change: Remove headline-wrapper element from Headlines with icons |
| 165 | * Markup change: Change button-text class to gb-button-text in Button block |
| 166 | * Markup change: Only output inner gb-button-text span if using an icon |
| 167 | * Markup change: Output Button block as span element if no URL exists |
| 168 | * Markup change: Add gb-headline-text span if using an icon in Headline block |
| 169 | * New: Shape dividers in the Container block |
| 170 | * New: Make all blocks fully responsive when using editor responsive previews |
| 171 | * New: Add option to apply gradient as a pseudo element |
| 172 | * New: Add option to choose background image size |
| 173 | * New: Add border radius options to Headline block |
| 174 | * New: frontend.insideContainer filter in editor for Container block |
| 175 | * New: frontend.beforeContainerClose filter in editor for Container block |
| 176 | * New: generateblocks_after_container_open filter in frontend for Container block |
| 177 | * New: generateblocks_inside_container filter in frontend for Container block |
| 178 | * New: generateblocks_before_container_close filter in frontend for Container block |
| 179 | * New: generateblocks_container_tagname filter in frontend for Container block |
| 180 | * New: Add div as Headline block element choice |
| 181 | * New: Add span as Headline block element choice |
| 182 | * New: Add inner z-index option to Container |
| 183 | * New: Aside option as Container tag name |
| 184 | * New: generateblocks_dynamic_css_priority filter |
| 185 | * New: Add support for desktop/tablet-only CSS |
| 186 | * Fix: Stacked button alignment in the editor |
| 187 | * Fix: Broken background image upload when using official AMP plugin |
| 188 | * Fix: Button mobile border-radius |
| 189 | * Fix: Check if grid data is an array before looping |
| 190 | * Fix: Container tablet/mobile font size values |
| 191 | * Fix: Button text not selectable in editor using Firefox |
| 192 | * Tweak: Bump required WP version to 5.4 |
| 193 | * Tweak: Make Container block wrapper HTML dynamic |
| 194 | * Tweak: Make Grid block wrapper HTML dynamic |
| 195 | * Tweak: Make Button Container block wrapper HTML dynamic |
| 196 | * Tweak: Move custom classes to core CSS classes field |
| 197 | * Tweak: Move custom ID to core anchor field |
| 198 | * Tweak: Remove deprecated isLarge prop in editor |
| 199 | * Tweak: Better stacked button alignment on frontend |
| 200 | * Tweak: Remove old browser prefixes |
| 201 | * Tweak: Update DOMPurify |
| 202 | * Tweak: Don't strip protocol from dynamic stylesheet URI |
| 203 | * Tweak: Move controls from our Advanced panel into core Advanced panel |
| 204 | * Tweak: Move text alignment options in all blocks to the Block Toolbar |
| 205 | * Tweak: Remove block margin in the editor |
| 206 | * Tweak: Reverse grid gap when using RTL |
| 207 | * Tweak: Add default inherit option to tablet/mobile Headline icon alignment |
| 208 | * Tweak: Change frontend.insideContainer filter to frontend.afterContainerOpen |
| 209 | * Tweak: Update color picker component UI |
| 210 | * Tweak: Make icon sets filterable |
| 211 | * Tweak: Move Container element tag option to Layout panel |
| 212 | * Tweak: Move Container z-index options to Spacing panel |
| 213 | * Tweak: Disable fixed background images on mobile |
| 214 | * Tweak: Rebuild Headline Element toolbar component |
| 215 | * Tweak: Add tag name to Headline CSS selector to improve CSS conflicts |
| 216 | * Tweak: Changed order of generateblocks_block_css_data params |
| 217 | * Tweak: Use device-specific media queries for remove vertical gap option |
| 218 | * Tweak: Change generateblocks.editor.desktopCSS filter to generateblocks.editor.mainCSS |
| 219 | * Tweak: Rebuild settings area using React |
| 220 | * Tweak: Remove placeholder text from Headline block |
| 221 | * Tweak: Move GenerateBlocks admin menu item to top level |
| 222 | * Tweak: Regenerate static CSS files after plugin update |
| 223 | * Tweak: Adjust unit picker default styling |
| 224 | * Tweak: Rebuild background image upload UI |
| 225 | |
| 226 | = 1.1.2 = |
| 227 | * Fix: Set background image selector default if undefined |
| 228 | * Fix: Set background image opacity default if undefined |
| 229 | * Tweak: Remove parsed content caching |
| 230 | |
| 231 | = 1.1.1 = |
| 232 | * Fix: Undefined index notice when using background images |
| 233 | |
| 234 | = 1.1.0 = |
| 235 | * New: Persistent responsive controls across blocks |
| 236 | * New: Filter all HTML attributes |
| 237 | * New: Filter Container tagNames |
| 238 | * New: Add containerAfterElementTag filter |
| 239 | * New: Add option to apply background image as pseudo element |
| 240 | * New: Add support for alignwide/alignfull in Container block |
| 241 | * New: Display color palette by default in Color component |
| 242 | * New: Add option to choose default view in Color component |
| 243 | * New: Add aria-label option for Buttons into advanced panel |
| 244 | * Tweak: Deprecate background image overlay option |
| 245 | * Tweak: Move hexToRGBA to utils |
| 246 | * Tweak: Fix repeated common CSS |
| 247 | * Tweak: Re-design normal/hover state buttons |
| 248 | * Tweak: Filter default background image size |
| 249 | * Tweak: Cache parsed blocks on front-end |
| 250 | * Tweak: Better display of admin notices in Dashboard |
| 251 | * Tweak: Change Container Width label to Contained Width |
| 252 | * Tweak: Add future framework for migrating/updating old options |
| 253 | * Tweak: Don't allow single button to be saved as reusable |
| 254 | * Tweak: Don't allow element tagName to be filtered |
| 255 | * Tweak: Allow all standard richText formats in Headline block |
| 256 | * Tweak: Better iconSize responsive placeholders |
| 257 | * Tweak: Allow decimal values in gradient start/stop |
| 258 | * Tweak: Move block name to the end of editor.desktopCSS filter args |
| 259 | * Tweak: Add buttonColorsHover to editor.controls filter |
| 260 | * Tweak: Change editor.insideContainerWrapper filter to frontend.insideContainer |
| 261 | * Tweak: Pass attributes to frontend.insideContainer instead of props |
| 262 | * Fix: gridId value in nested grids |
| 263 | * Fix: Use inline-block for inline headlines with no icon |
| 264 | * Fix: Missing text domains |
| 265 | * Fix: Display Headline highlight option in Headline block only |
| 266 | * Fix: Headline icon center alignment in IE |
| 267 | * Fix: Headline highlight background color in IE |
| 268 | * Fix: Mobile selector for width in min-height container |
| 269 | * Fix: Add box-sizing to min-height container on tablet/mobile |
| 270 | * Fix: Headline text alignment when using an icon |
| 271 | * Fix: Allow 0 as iconSize value |
| 272 | |
| 273 | = 1.0.2 = |
| 274 | * Tweak: Minify/compress all dist files |
| 275 | |
| 276 | = 1.0.1 = |
| 277 | * Fix: Add wp_set_script_translations() to translate block editor |
| 278 | * Tweak: Add spacing to update nag in Settings area |
| 279 | |
| 280 | = 1.0 = |
| 281 | * Initial release |
| 282 |