| 开发者 | mifupadev |
|---|---|
| 更新时间 | 2026年4月17日 21:41 |
| PHP版本: | 8.0 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPL-2.0-or-later |
| 版权网址: | 版权信息 |
[breznflow id="X"] with 13 attributes for per-instance configuration[REDACTED] before storage. The raw workflow JSON is never saved..breznflow.json files containing 41 CSS color tokens. Themes are selectable globally, per workflow, or per shortcode.
Node type registry
86 predefined node types across 10 categories: Triggers, Core Logic, Data Transformation, Databases, Communication, Google, Dev Tools, AI, Storage, and CRM/Marketing. Unknown node types get a deterministic fallback with auto-generated colors — the same unknown type always looks the same.
Sensitive data masking
Before saving, BreznFlow runs a two-pass sanitization:
.json file, or fetch from a URL.[breznflow id="X"] in any post or page.In n8n, open your workflow and use the menu: Workflow → Export → Download JSON. Then paste the JSON into BreznFlow's import wizard or upload the file directly.
BreznFlow automatically detects and replaces common secret patterns with [REDACTED] before storing. This includes API keys in URL parameters, Authorization headers, and high-entropy condition values. The masking log in the wizard shows exactly what was masked and why. The raw workflow JSON is never saved — only the sanitized version.
Note: JavaScript code in Code nodes (jsCode) is displayed as plain text and never executed in the browser, but is NOT automatically scanned for secrets. Review Code node contents manually before publishing.
Yes. Use [breznflow id="1"], [breznflow id="2"], etc. The JavaScript and CSS are loaded only once regardless of how many shortcodes are on the page.
The plugin supports the standard n8n workflow JSON export format. It has been tested with workflows from n8n 1.x. The node type registry covers 86 predefined types — unknown types are handled gracefully with auto-generated colors and initials.
Only if you enable it. Downloads require both the global allow_download setting and the per-workflow download permission to be enabled. Only the sanitized (masked) JSON is available — never the original.
When enabled, BreznFlow serves a standalone HTML page at ?breznflow_embed={id} — no WordPress theme, no admin bar, just the SVG renderer. You can embed this via iframe. Both the global allow_embed setting and the per-workflow _breznflow_show_embed permission must be enabled (dual-gate security). The embed page includes X-Robots-Tag: noindex, nofollow headers.
Yes, at three levels: (1) Choose from 5 built-in themes or import custom themes with 41 CSS color tokens. (2) Set display mode, zoom level, and feature toggles per workflow. (3) Override any setting per shortcode with 13 available attributes.
[breznflow id="42" mode="compact" theme="light" zoom="80" show_title="1" show_infobox="1" show_minimap="0" show_download="0" show_share="1" show_embed="0" show_get_json="0" max_code_lines="50"]
Only id is required. All other attributes fall back to the workflow's saved settings, then to the global plugin settings.
Yes. BreznFlow uses a standard WordPress shortcode ([breznflow]), which works in Gutenberg, the Classic Editor, Elementor, Divi, WPBakery, and any other builder that processes shortcodes.
No. The renderer JS and CSS are only loaded on pages that contain a [breznflow] shortcode. No external HTTP requests are made during page loads. All rendering happens client-side.
the_content filters) is active. The shortcode now silently deduplicates re-entrant invocations via a fingerprint of post id + resolved render settings.id is now unique per instance (breznflow-wrap-<POSTID>-<COUNTER>), enabling multiple embeds of the same workflow with different attributes in one post.id="breznflow-<POSTID>" is emitted only for the first instance per post to keep the DOM valid and preserve existing share links.load_plugin_textdomain() call — translations are now loaded automatically by WordPress (since WP 4.6).breznflow_ for WPCS naming conventions compliance.[breznflow] with 13 attributes for mode, zoom, theme, and display toggles..breznflow.json files.#breznflow-{id} hash links and 60px scroll offset.breznflow_workflow with hierarchical breznflow_category taxonomy.