| 开发者 | flexatech |
|---|---|
| 更新时间 | 2026年11月30日 12:09 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.2 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
docs/mcp-setup.md in the source repository at https://github.com/flexatech/flexa-block
Whether you're building landing pages, business websites, blogs, or eCommerce stores, Flexa Block helps you create professional layouts with less effort.
More blocks and advanced features will be added in future releases.
Source code for compiled JavaScript and CSS
The plugin ships with minified/compiled JavaScript and CSS in build/. The human-readable source code (src/), together with the build tooling used to generate those assets, is publicly available and maintained at:
https://github.com/flexatech/flexa-block
The assets are built with npm and @wordpress/scripts (webpack). To build them yourself:
npm installnpm run build (or npm start for a watched dev build)build/ from the source in src/.
/wp-content/plugins/flexa-block, or install
through the WordPress Plugins screen.No. Everything is controlled through the WordPress Block Editor. Just insert a block, adjust settings in the sidebar, and publish.
Flexa Block works with any theme that supports the Block Editor, including classic themes and Full Site Editing (FSE) themes.
Version 1.0.4 ships with a growing library of blocks, including: Container, Button, Heading, Image, Countdown, FAQ (with optional FAQPage schema), Social Icons, Grid, Testimonial, Separator, Text, Counter, Info Box, Slides, Social Share, Table of Contents, Before / After, Breadcrumb, Steps, Tabs, Video Popup, Comparison Table, Google Map, Images Gallery, Banner, CTA, a Subscribe Form, Pricing Table, Team Member, Post Grid, Post Filter, Progress Bar, Timeline, Icon, Icon List, Lottie Animation, Modal, Star Rating, Notice, Data Table, Taxonomy, RSS Feed, Facebook Feed, Instagram Feed and twelve WooCommerce single-product blocks. All blocks include skeleton inserter previews and JavaScript translations. More blocks will be added in future releases.
Yes. When you are logged in and allowed to edit the post, Flexa's editable blocks become click-to-edit on the front end: click a heading, paragraph, button label, list item or table cell, type your change, and press Save in the toolbar that appears. The edit is saved into the block itself — markup, block settings and generated CSS are preserved — and logged as a note on the post.
Thirty-five blocks, covering every block whose text you type in yourself: Heading, Text, Button, Table of Contents, Progress Bar, Before / After, Star Rating, Modal, Notice, Banner, CTA, Info Box, Testimonial, Team Member, Countdown labels, all eleven Subscribe Form field labels, FAQ, Tabs, Steps, Timeline, Pricing Table, Counter, Icon List, Comparison Table and Data Table. Blocks that show generated or fetched content (Post Grid, Breadcrumb, WooCommerce product blocks, feeds) are not inline-editable, since their text does not live in the block.
Administrators always can; Editors are allowed by default. Open Flexa Block → Editing to switch inline editing off entirely, change which roles may use it, or disable it for individual blocks. Users still need the normal WordPress permission to edit that particular post.
No. CSS is generated once at save time and cached per post. Only the styles actually used on a given page are loaded — there are no large catch-all stylesheets.
Yes. The Container block integrates with a site-wide dark mode toggle, which you can enable or disable from the Flexa Block settings page in the admin.
Go to Flexa Block in the admin sidebar and open the Blocks tab. You can toggle individual blocks off — disabled blocks are removed from the Block Editor inserter.
In the WordPress admin sidebar, click Flexa Block (located below Settings). From there you can control dark mode, CSS specificity, and which blocks are active.
Only if you switch it on, and only within limits you set. Open Flexa Block → AI agents, turn the module on, and decide whether an agent may read your site and whether it may draft pages. Reading is reading. Drafting creates a page from one of your presets and leaves it as a draft for you to review, and can change the fields of such a draft while it is still untouched; it cannot publish, and it cannot touch a published page or one you have edited yourself. A separate toggle, off by default, lets it change the title, text, links and email addresses in blocks of a page, including one you edited yourself. For a published page it works on a draft copy, which you open in the editor and apply with one button, or trash; the live page does not change until you do. Never layout or styling, never while you have the page open, and always with a revision you can restore. You can turn any of these off, or the whole module off, at any time.
With reading on: your design settings, the list of presets, and the blocks of a page it asks about, including the text in them. With drafting on: a preset's fields, the page it created, and the field values of a draft it changes. With editing on: the editable fields of a page it names. Nothing else, and nothing about your users, orders, comments or files. The client is software you choose and connect, so whatever it receives goes wherever that client runs. The Privacy and data flow section above spells this out.
WordPress 7.0 or newer, and the free MCP Adapter plugin from WordPress.org, which is what actually speaks the protocol. On an older WordPress, or without that plugin, the panel tells you what is missing and the module stays off. Setup steps and the clients that have been tested live in docs/mcp-setup.md in the source repository at https://github.com/flexatech/flexa-block
Yes. Flexa Block Pro adds additional blocks and advanced features. It works alongside this free plugin.
url() value, closing a potential CSS-injection path. Background and mask images render exactly as before.wp_handle_upload() instead of move_uploaded_file().