This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Magic Block

विवरण

Magic Block registers a container block with the block editor. This block has settings for element (div, section, etc), ID, classname, inline style, and any other attribute (including data-*, and aria-*) via a custom attributes section.

Magic Block is designed for people who want full control over post HTML structure, or wish to use the editor to create complex layouts such as Flexbox, CSS Grid, Bootstrap, etc…

This block does not add any CSS styles that you, as a developer, do not provide. Rather, it allows you to easily contain other blocks in parent elements with an arbitrary ID or Class. You may then easily target these container elements by ID or Class in your theme’s stylesheets or through CSS plugins. For smaller customizations there is an inline style field which maps to the “style” HTML attribute for the container element.

In the editor view, each Magic Block has a thin grey outline so you can easily see which child elements belong to it. It also provides a display of element type, ID, and classes so you can keep track of how to target them with your CSS.

As of WordPress 5.3 you might not need this plugin since the core now ships with a “Group Block” which is similar in purpose, although it has fewer options.

स्क्रिनसटहरू

  • You can nest magic blocks inside each other to build complex layouts.
  • Custom attributes supported

ब्लकहरू

यो प्लगिनले 1 ब्लक उपलब्ध गराउँछ।

  • Magic Block

समीक्षाहरू

मे 11, 2022
you said, that as we have a group block now, we might don't need to use this plugin. Unfortunately group block stinks, it ads some inner divs which makes it unusable for a lot of stuff, for example grid or flex container. Your plugin is just perfect. It should be THE FIRST Gutenberg block to be released, it's such a timesaver and pleasure to work with. I can pay for this, but please, don't abandon it.
अक्टोबर 24, 2021
Wonderful plugin, just hope this project keeps updated! thank you so much!
मे 26, 2021
This plugin is just perfect for a full control of gutenberg's based layouts. It just fills a very important functionality that gutenberg lacks and it should come built in with WordPress. Great job.
सबै 10 समीक्षाहरू पढ्नुहोस्

योगदानकर्ता र डेभलपरहरू

“Magic Block” खुला स्रोत सफ्टवेयर हो। निम्न व्यक्तिहरूले यो प्लगिनमा योगदान गरेका छन्।

योगदानकर्ताहरू

“Magic Block” 2 लोकेलहरूमा अनुवाद गरिएका छन्। योगदानको लागि अनुवादकहरूलाई धन्यवाद।

“Magic Block” लाई आफ्नो भाषामा अनुवाद गर्नुहोस्

विकासमा रुचि छ?

आरएसएस द्वारा कोड ब्राउज गर्नुहोस्, एसभीएन रिपजिटरी हेर्नुहोस्, वा विकास लग को सदस्यता लिनुहोस्।