diff --git a/docs/_static/img/editors/builder2.png b/docs/_static/img/editors/builder2.png index eb3ebdd..7b4bdac 100644 Binary files a/docs/_static/img/editors/builder2.png and b/docs/_static/img/editors/builder2.png differ diff --git a/docs/_static/img/editors/builder3.png b/docs/_static/img/editors/builder3.png index 39f28fd..85bc734 100644 Binary files a/docs/_static/img/editors/builder3.png and b/docs/_static/img/editors/builder3.png differ diff --git a/docs/utils/editors/builder.md b/docs/utils/editors/builder.md index 2ea5a7a..68da6f4 100644 --- a/docs/utils/editors/builder.md +++ b/docs/utils/editors/builder.md @@ -4,6 +4,8 @@ Its gives you total control to build with blocks. ![](/_static/img/editors/builder.png) +![](/_static/img/editors/builder2.png) + ## Add the builder in forms ### Classic form @@ -96,6 +98,7 @@ class CustomBlock extends BuilderBlock ->setName('custom') ->setCategory('Category') ->setLabel('My custom block') + ->setOrder(1) ->setIsContainer(false) // set `true` if the block can contain blocks ->setIcon('') ->setTemplate('builder_block/custom.html.twig') @@ -121,7 +124,6 @@ Create a template: That's all folks! -![](/_static/img/editors/builder2.png) ![](/_static/img/editors/builder3.png) ## Rendering