Linux 软件免费装
Banner图

Blicks - Layout Blocks for the Block Editor

开发者 blicks
更新时间 2026年9月23日 03:51
PHP版本: 8.1 及以上
WordPress版本: 7.1
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

blocks gutenberg layout block editor design system

下载

1.0.0 1.0.1

详情介绍:

ATOMIC LAYOUT AND CONTENT BLOCKS FOR THE WORDPRESS BLOCK EDITOR, ON ONE DESIGN SYSTEM THAT SYNCS WITH YOUR THEME.JSON Blicks adds composable layout and content blocks to the native block editor — Section, Box, Stack, Grid, Heading, Text, Buttons, Button, Image, Icon, Spacer and Divider. Every block draws from one design system. Instead of a color or a font size baked into each block, Blicks keeps a token catalogue whose values resolve through your active theme's theme.json presets. Set a value once and it applies everywhere, and where your theme defines no scale of its own, Blicks falls back to its own. Blicks is free and GPL-2.0-or-later. It contacts no external server, ships no license key, and adds no telemetry. 🧱 The blocks All of them live in one Blicks category in the inserter. 🎨 Key features 🎛️ Style controls on every block Block controls are split across three tabs — Settings for what the block is, Style for how it looks, Advanced for visibility and attributes. The Style tab covers: ⚡ Output 🧰 The Blicks admin Three screens under the Blicks menu: 🔒 No external services Blicks contacts no third-party server. It loads no remote fonts, scripts or styles, and sends no data anywhere. Everything it renders is served from the plugin itself and from your own theme's settings. 🌐 Translation Blicks is fully internationalized and ships a .pot file. To contribute a translation, add a language via translate.wordpress.org. 🧑‍💻 Open source The full source — TypeScript, SCSS, block definitions and build configuration — is public at github.com/blicks-dev/blicks, and the documentation is generated from it at docs.blicks.dev. 💬 Support, feedback and security Bug reports and feature requests are handled in public, on the GitHub issue tracker: Both forms are linked from the plugin itself — under the Blicks row on the Plugins screen, and at the foot of the Blicks Overview screen. A bug report is most useful with the WordPress and PHP versions, the active theme, and the block markup copied from the editor (select the block, then Options → Copy). The form asks for each of these. Security issues should never be filed as a public issue. Report them privately at github.com/blicks-dev/blicks/security/advisories/new.

安装:

Minimum Requirements Recommended Requirements Note: Blicks runs on classic themes too, but falls back to its own default token values, since there is no theme.json to sync with. Installation
  1. Install using the WordPress built-in plugin installer, or extract the zip file and drop the contents in the wp-content/plugins/ directory of your WordPress installation.
  2. Activate Blicks through the 'Plugins' menu in WordPress.
  3. Go to Pages → Add New.
  4. Open the inserter and pick a block from the Blicks category.
  5. Optional: visit Blicks → Design System to adjust tokens, type roles and breakpoints.
For guides and the generated block reference, visit docs.blicks.dev.

屏幕截图:

  • **Theme Settings in the editor** - Colors, type scale and spacing resolved from the active theme's `theme.json`, so they are the same values the front end uses.
  • **Block controls** - Split across three tabs: Settings for what the block is, Style for every property at each breakpoint and state, and Advanced for visibility and custom attributes.

升级注意事项:

1.0.1 Adds each block's icon to its metadata, and fixes a stale front-end stylesheet after CSS-only updates. 1.0.0 First public release.

常见问题:

Is this a page builder?

No. Blicks lives inside the native block editor and adds layout primitives — Stack, Grid, Box, Section — that you compose the same way you compose any other block. Nothing replaces your editor.

Does Blicks work with my theme?

It is built for block themes and full site editing, where it reads the presets your theme.json defines and resolves its own tokens through them. It also runs on classic themes, but falls back to its own default token values, since there is no theme.json to sync with.

Does Blicks replace my theme's design system?

No. Blicks keeps its own catalogue of token slugs, and their values alias your theme's preset variables where the theme defines them. Where it defines none — a shadow scale, say — Blicks supplies its own, so a control is never empty.

Will it slow down my site?

Blicks enqueues one stylesheet, 13,301 bytes gzipped, on requests that render a block. There is no per-block <style> tag and no per-request CSS generation for token and utility values. Per-instance rules — pseudo-elements, container queries, keyframes — are collected and deduplicated into a single block in the footer.

What happens to my content if I deactivate Blicks?

Blocks save static HTML, so the markup stays in the post. The runtime stylesheet stops loading, so the styling it carries goes with it.

What happens to my data if I delete the plugin?

By default, nothing is removed — your tokens, themes, animations and settings survive a delete and reinstall. If you want Blicks to clean up after itself, set On uninstall to "Delete all Blicks data" in Blicks → Settings before deleting the plugin.

Can I add my own CSS, JavaScript or PHP through Blicks?

No. There is no stylesheet field, no script field and no snippet runner. Blicks never evaluates anything you type, and you cannot write a CSS rule, a selector or an at-rule anywhere in it. Two places do accept typed input. Some controls take a typed value rather than offering a picker — a length like 800px, a transform like translateX(10px), a shape like polygon(0 0, 100% 0, 100% 100%). Each of those is the value of one named property that the control itself chooses; you cannot write the property, a selector or a rule. Every value is validated whole against a closed list of permitted characters and CSS functions before it is used, so a value cannot end its own declaration or start another one. Anything that does not validate is dropped. The custom animation editor (Blicks → Design System → Animations, administrators only) works the same way. Each keyframe step is a form row: you pick a property from a fixed list of animatable properties (opacity, transform, color and similar), and type its value, which is validated exactly as above. You cannot name any other property, write a selector or add an at-rule; Blicks generates the @keyframes rule and its name itself.

Can I paste in HTML from somewhere else?

Yes. Import HTML in the editor's options (⋮) menu opens a one-way importer: you paste a block of markup, Blicks maps each element to the closest Blicks block, and inserts the result into the post. It reads each element's inline style attribute only — not <style> blocks, not stylesheets, not <script>. A declaration is kept only where its property matches an existing Blicks control that takes a plain value; it then becomes an ordinary block attribute, validated exactly like any value you would have typed into that control yourself. Everything else — every property with no matching control, and every structured control that would need reshaping — is dropped, and the import report names each one so nothing is silently discarded. The pasted text itself is never stored and never rendered. No pasted CSS reaches the front end unvalidated, and pasted <script> is parsed as text, never executed.

Can I use my own images as backgrounds?

Yes, via the media library. Background image URLs are restricted to your own site's uploads or an ordinary http(s) address; javascript: and data: URLs are rejected.

Does Blicks respect reduced motion?

Yes. Rules that carry a keyframe animation are emitted inside @media (prefers-reduced-motion: no-preference), so a visitor who has asked for reduced motion never gets them.

How can I contribute?

The source is at github.com/blicks-dev/blicks. Issues, pull requests and translations are all welcome; translations go through translate.wordpress.org.

更新日志:

1.0.1 - 2026-09-23 1.0.0 - 2026-09-17