Lazy Blocks – Konstruktør for Gutenberg-blokker

Beskrivelse

Lazy Blocks er en visuel kontruktør for Gutenberg-blokker for WordPress-utviklere. Du kan lage både egendefinerte meta-felter og blokker med HTML-utsending. Lag redigeringskontroller til dine blokker med et dra og slipp-basert visuell konstruksjonsverktøy. Lag innholdsmaler med forhåndsdefinerte blokker (alle innholdstyper).

Lenker

Funksjoner

  • Create blocks with output code
  • Create blocks for meta custom fields
  • Handlebars used for blocks output
  • Export to PHP
  • Show controls in block content / inspector
  • Tilgjengelige kontroller:
    • Repeater
    • Text
    • Textarea
    • Number
    • Range
    • URL
    • Email
    • Password
    • Image
    • Gallery
    • File
    • Rich Text (WYSIWYG)
    • Code Editor
    • Inner Blocks
    • Select
    • Checkbox
    • Toggle
    • Color Picker
    • Date Time

Skjermskudd

  • Blocks constructor
  • Posts templates
  • Block in Gutenberg editor

Installasjon

Sørg for at du bruker WordPress 5.0.x. Som alternativ trenger du installere utvidelsen Gutenberg for å bruke Lazy Blocks.

Automatic installation

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”.

Manual installation

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.

Vurderinger

juli 16, 2019
I just wanted to leave a huge *thank you!* I'm a designer and don't got the time to code. This is the best and perfect alternative for small and medium projects!
juli 13, 2019
Very useful plugin for creating custom blocks. It also offers fields like WYSIWYG, repeater etc., unlike Block Lab for example, so I choose this one. Ease to use, good documentation, free. Just the best.
juni 4, 2019
Очень хороший плагин для кастомных блоков в гутенберге! Все что надо в нем есть, создать можно абсолютно все. Пользуюсь им постоянно, все остальные дополнения не нужны если ты шаришь в дизайне и верстке. Единственное что не хватает плагину это задать стили и верстку отображения блока в админке, надеюсь такую возможность сделают.
mai 14, 2019
Thanks a lot for such a useful and easy to use plugin to create custom blocks to use in gutenberg. It has improved my theme designing many fold. Keep it up this great work, just for now I have suggestion to improve load performance when creating new blocks, for now when we use some around 9 10 fields for a block, it takes much loading time and also hang the browser. Might be some optimization needed.
Les alle 23 vurderinger

Bidragsytere og utviklere

“Lazy Blocks – Konstruktør for Gutenberg-blokker” er programvare med åpen kildekode. Følgende personer har bidratt til denne utvidelsen.

Bidragsytere

“Lazy Blocks – Konstruktør for Gutenberg-blokker” har blitt oversatt til 3 språk. Takk til oversetterne for deres bidrag.

Oversett “Lazy Blocks – Konstruktør for Gutenberg-blokker” til ditt språk.

Interessert i utvikling?

Bla gjennom koden, sjekk ut SVN-repositoriet, eller abonner på utviklingsloggen med RSS.

Endringslogg

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