| 开发者 | gopalbogati |
|---|---|
| 更新时间 | 2026年7月14日 21:56 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
frontpen-no-edit CSS class.frontpen folder to /wp-content/plugins/, or install it from the Plugins screen.Text blocks: paragraphs, headings and list items — both as Gutenberg blocks and as plain HTML elements in classic (non-block) content. In classic content, table cells, figure captions and definition lists are editable too. Layout and media blocks are intentionally left alone so the page structure stays intact.
Yes — the standard shortcuts work inside an editable region: Ctrl/Cmd+B for bold, Ctrl/Cmd+I for italic, Shift+Enter for a line break. Anything outside the safe inline tag set is stripped on save.
No. The editing UI and its markup are only added for logged-in users who are allowed to edit the post.
Inline editing works on Gutenberg text blocks and on plain HTML elements in classic content. If a page's visible text comes from somewhere else — a page builder, shortcodes, theme templates or custom fields — Frontpen cannot verify that editing it is safe, so it keeps the edit option visible and links to the standard WordPress editor instead.
WooCommerce product screens commonly render titles, prices and summaries from product fields and templates rather than Gutenberg post content. Frontpen stays hidden when it cannot safely edit those fields. A product description built with supported Gutenberg blocks can still use inline editing.
Add the CSS class frontpen-no-edit to the block in the block editor (Advanced → Additional CSS class(es)). To lock an entire post, tick "Lock this content from front-end editing" in the Front-End Editing box on the edit screen.
Yes, for any public post type whose content is built from supported blocks.
Before writing, the server checks that the block still contains the text the editor started from. If it changed, the save is refused and you are asked to reload, so no one's work is silently overwritten.