Lazy Blocks – Gutenberg Blocks Constructor

説明

Lazy Blocks is a Gutenberg blocks visual constructor for WordPress users. You can create custom blocks as well as custom meta fields with output HTML. Add editor controls to your blocks using drag & drop visual constructor. Create post templates with predefined blocks (any post type).

リンク

機能

  • Create custom blocks with output code
  • Create custom blocks for meta custom fields
  • Handlebars used for blocks output
  • Export / Import blocks
  • Show controls in block content / inspector
  • Controls available:
    • Basic
    • テキスト
    • テキストエリア
    • 番号
    • 範囲
    • URL
    • メール
    • パスワード
    • Content
    • 画像
    • ギャラリー
    • File
    • Rich Text
    • Classic Editor
    • コードエディター
    • 内部ブロック
    • Choice
    • 選択
    • Radio
    • チェックボックス
    • 切り替え
    • Advanced
    • カラーピッカー
    • Date Time Picker
    • Layout
    • Repeater
    • Custom Controls https://lazyblocks.com/documentation/examples/create-custom-control/

スクリーンショット

  • Blocks Constructor
  • Custom Blocks with Example Controls
  • Posts Templates

インストール

必ず WordPress 5.0.x 以上のバージョンを使ってください。 それ以前のバージョンの WordPress で Lazy Blocks を使うにはGutenberg プラグインを別途インストールする必要があります。

自動インストール

Automatic installation is the easiest option as WordPress handles the file transfers itself and you don’t need to leave your web browser. To do an automatic install of LazyBlocks, log in to your WordPress dashboard, navigate to the Plugins menu and click Add New.

In the search field type LazyBlocks and click Search Plugins. Once you’ve found our plugin you can view details about it such as the point release, rating and description. Most importantly of course, you can install it by simply clicking “Install Now”.

手動インストール

The manual installation method involves downloading our LazyBlocks plugin and uploading it to your webserver via your favourite FTP application. The WordPress codex contains instructions on how to do this here.

評価

2020年5月27日
I wanted to create some custom block and was going through WordPress documentation and it was way too complex and then came across this plugin. It was the best tool I came across and gives endless usability
2020年5月27日
I was looking for a plugin with blocks I needed when I realized there are just too many unused blocks. Also these blocks add more and more CSS while the theme has its own styling, which sometimes is causing issues. So I decided to build my own blocks, tried to do it manually and after 15 minutes I knew it would take a lot of time. With this plugin, even without reading documentation I was able to create theme-specific blocks that simply work and add zero CSS on frontend. Excellent!
2020年5月12日
I studied how to make custom Gutenberg blocks. The new Javascript language was way too much for me, so I needed a tool/plugin to help me. I also need a feature that allows me to export/import my custom blocks. Lazy blocks does this. Great job guys! Thank you!
2020年5月9日
Perfekt Plugin, does exactly what it should do and nothing more. This is what i like!
2020年4月29日
I use it for creating dynamic bootstrap blocks for custom WordPress themes and it is much better than ACF or the rest. You can create the template in the editor and make fast changes to the custom fields and layout in one place.
2020年4月25日
Wow. Choosing a block generator plugin is a toughie because there's good competition out there. I feel that Lazy Blocks is more intuitive. I like that you don’t have to edit server files directly. Editing server files is totally cool if you have a local dev. I don't always have the luxury of a local dev with my client projects. Not having to touch server files is a big win for Lazy Blocks. So, one-stop shopping, support for Handlebars, export/import, and slightly better documentation make Lazy Blocks my choice over the competition. I still need to see how Lazy Blocks performs when I use it in my own custom WordPress plugins. Stay tuned for that.
41件のレビューをすべて表示

貢献者と開発者

Lazy Blocks – Gutenberg Blocks Constructor はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Lazy Blocks – Gutenberg Blocks Constructor” は3ロケールに翻訳されています。 翻訳者のみなさん、翻訳へのご協力ありがとうございます。

“Lazy Blocks – Gutenberg Blocks Constructor” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

2.0.7

  • fixed JS build error

2.0.6

  • added support for required fields inside repeater
  • prevent possible bugs with adding custom blocks using PHP (register blocks inside init hook with priority = 20)
  • fixed repeater and Classic Control usage when all rows opened
  • fixed repeater control undefined value error
  • fixed custom categories registration conflict with 3rd-party plugins
  • fixed update control array data in Constructor (can’t clear)

2.0.5

  • added WordPress 5.4 compatibility
  • added 12 hours format for Time Picker automatically based on WordPress settings
  • removed the possibility to disable both date and time in Date Time Picker control
  • fixed inability to remove all controls from block

2.0.4

  • fixed possible PHP 7.4 error because of admin Tools export checks

2.0.3

  • fixed error when no icon specified to custom block

2.0.2

  • fixed Date Time Picker control displaying selected value
  • fixed Classic Editor control rendering bug when used in multiple blocks
  • fixed Allow Null value save in Select control
  • hide “duplicate” button from Inner Blocks control in constructor

2.0.1

  • fixed checkbox and toggle controls meta filter php error

2.0.0

  • added custom controls API https://lazyblocks.com/documentation/examples/create-custom-control/
  • added Export / Import JSON for blocks and templates https://lazyblocks.com/documentation/export-blocks/
  • added error messages to File, Image and Gallery controls
  • added Width option to controls
  • added alongside option to Checkbox and Toggle controls
  • added Example Block after plugin activation
  • added Classic Editor control https://lazyblocks.com/documentation/blocks-controls/classic-editor-wysiwyg/
  • added possibility to include plugin code in themes and 3rd-party plugins https://lazyblocks.com/documentation/examples/include-lazy-blocks-within-theme-or-plugin/
  • changed block icons to Material SVG https://material.io/resources/icons/
  • fixed change value in Rich Text and Code Editor
  • fixed errors when no specified block icon or title
  • fixed Rich Text control styles
  • fixed PHP errors when control type is not defined
  • fixed height of Select component
  • fixed file control Upload button error, when no allowed mime types selected
  • fixed possible PHP warnings when control meta used, but array item doesn’t exist
  • fixed URL control paddings
  • fixed constructor admin list mobile devices styles
  • fixed required notice position
  • removed Multiple option from Radio control
  • constructor
    • improved UI
    • added Duplicate and Delete buttons on controls
    • added icons to Controls
    • added control placeholder if label is not specified
    • added control no label if label is not specified
    • improved placement settings (changed select to buttons)
    • improved date time settings (changed select to buttons)
    • fixed select component style
    • fixed select component z-index
    • fixed document tabs margin
    • fixed overflow and dropdowns sidebar

1.8.2

  • fixes for WordPress 5.3
  • fixed placement control when enabled option hide_if_not_selected and set placement to inspector

1.8.0

1.7.0

  • added experimental Required option for top-level controls
  • added possibility to choose which blocks and template export on Tools page
  • changed Templates page to use React
  • changed Tools page to use React
  • fixed PHP error when className is not available in the block
  • fixed PHP warning when used multiple select options
  • minor changes

1.6.2

  • added File control
  • changed anchor attribute settings (fixed anchor save in the latest Gutenberg)
  • fixed select control value save (if no Multiple option set)
  • fixed InnerBlocks with option “Hide if block is not selected”
  • fixed boolean meta data of constructor save (convert to string)

1.6.1

  • fixed order of controls was not saved
  • fixed php error when no lazy blocks available
  • fixed selecting inner repeater controls
  • fixed control styles disappear while resorting
  • prevent control selection on drag handler click
  • prevent control selection on repeater toggle click

1.6.0

  • Improved Constructor UI
    • Block setting moved to the right side (Inspector)
    • Control setting opens in Inspector when you select it
  • added alpha channel option to Color Picker control
  • added ‘Save in Meta’ support for Repeater field
  • added possibility to hide block previews in editor
  • added possibility to use single code output for both Frontend and Editor
  • added Select Multiple option
  • fixed block preview loading when returned empty string
  • fixed Keywords, Align and Condition block settings save when empty

1.5.1

  • added block slug validation in constructor
  • added slug creation if don’t exist after block title added
  • fixed controls saving in new blocks
  • fixed icon picker button styles in constructor

1.5.0

  • changed Block Constructor page to Gutenberg
  • added option to hide controls if block is not selected
  • added Radio control
  • fixed duplicating of categories selector in blocks constructor
  • fixed block ID duplication
  • fixed block preview loading error
  • fixed block names some characters
  • fixed custom post types publishing
  • fixed error if custom post type removed, but the template for this post is still available

1.4.3

  • fixed controls save when updating Lazy Blocks post in WordPress 5.1

1.4.2

  • added lzb/handlebars/object action inside init
  • trim class attribute value on frontend output
  • fixed loading Templates admin page and select initialization when more then 1 template added
  • fixed Range control with Save in Meta option
  • fixed JS error on all admin pages
  • fixed Handlebars PHP 7.3 error

1.4.1

  • added action to add Handlebars custom helpers (info in documentation)
  • added filter to disable frontend block wrapper of the block (info in documentation)
  • improved columns in admin list of lazy blocks
  • extended list of symbols that need to be removed from the block slug
  • fixed PHP output for frontend if HTML output is empty
  • fixed losing Frontend & Editor output data when added output PHP filters

1.4.0

  • added support for blocks PHP preview rendering in Editor
  • added toggle button in Repeater control to toggle all rows
  • added block slug validation and automatic creation in constructor
  • added descriptions to additional block fields in constructor
  • added new attribute blockUniqueClass that will adds automatically on each Lazy block
  • added title on Image and Gallery attributes object
  • changed Editor rendering to AJAX also for Handlebars templates
  • changed output for lazy blocks – always added wrapper with block class

1.3.2

  • added unique blockUniqueClass attribute to each lazy block attributes and in editor wrapper

1.3.1

  • added unique blockId attribute to each lazy block
  • simplified enqueue in admin templates page
  • fixed do_shortcode wrong attributes output (reserved data and hash attributes)
  • fixed Range control saving value

1.3.0

  • added filter for output frontend PHP of blocks (read in documentation)
  • added Allow Null option to Select control
  • added Help option in controls
  • added Placeholder option in controls
  • added all existing categories in block categories selector
  • fixed gallery control editable images
  • fixed dropzone position in image and gallery controls
  • fixed custom category title changing to slug
  • fixed automatic fill of control name in constructor
  • fixed date control error in WP 5.0
  • minor changes

1.2.2

  • fixed templates loading in Gutenberg 4.5
  • fixed do_shortcode work with Image control value

1.2.1

  • fixed controls errors in Gutenberg 4.2.0 (Gallery, Image, Code Editor)

1.2.0

  • added Inner Blocks control
  • added support for custom frontend render function (use PHP instead of Handlebars) https://lazyblocks.com/documentation/blocks-code/php/
  • added possibility to resort Repeater rows
  • changed Repeater control styles
  • disabled autofocus in URL control
  • fixed URL input width
  • fixed Number control value save

1.1.1

  • added RichText control

1.1.0

  • added possibility to use all registered blocks in posts templates
  • added selector with search and block icons to easily find and add blocks to templates
  • added Free Content block to use in templates when template locked
  • added + button inside Repeater block
  • added Range control
  • added Color Picker control
  • added Date Time Picker control
  • added Documentation link in admin menu
  • improved URL control to search for available posts in blog

1.0.4

  • fixed catchable fatal error when use do_shortcode Handlebars helper

1.0.3

1.0.2

1.0.0

  • Initial Release