admin管理员组文章数量:1405170
Now that WordPress 5 has the new Gutenberg editor, I'm interested in the possibility of using it programmatically on the front-end (for example as as a rich-text editor for bbPress).
In the past I've used wp_editor
but that still uses the old TinyMCE editor. I know there is a demo site using it on the front-end, but it doesn't go into how to actually save content.
Is it possible to programmatically use Gutenberg on the front-end or other places on the back-end? If not currently, is it on the roadmap?
Now that WordPress 5 has the new Gutenberg editor, I'm interested in the possibility of using it programmatically on the front-end (for example as as a rich-text editor for bbPress).
In the past I've used wp_editor
but that still uses the old TinyMCE editor. I know there is a demo site using it on the front-end, but it doesn't go into how to actually save content.
Is it possible to programmatically use Gutenberg on the front-end or other places on the back-end? If not currently, is it on the roadmap?
Share Improve this question asked Dec 27, 2018 at 18:46 Alexander O'MaraAlexander O'Mara 1511 silver badge4 bronze badges 3- 1 You can see the source code for that demo here: github/tomjn/Frontenberg – Liam Stewart Commented Dec 27, 2018 at 19:17
- @LiamStewart True, but it doesn't explain how to properly use the editor with the ability to save content safely (no XSS). – Alexander O'Mara Commented Dec 27, 2018 at 19:20
- "Also, be careful, if you're logged in it will be fully functional, other users will see autosave notices and your changes will be saved!" It saves content if logged in. – Liam Stewart Commented Dec 27, 2018 at 21:04
2 Answers
Reset to default 1Gutenberg editor is now on frontend. Here is the solution. https://wordpress/plugins/frontrom/
You can use Gutenberg Ramp plugin. You selectively activate Gutenberg on certain pages and posts, giving you greater control.
本文标签: customizationIs it possible to use Gutenberg on the frontend
版权声明:本文标题:customization - Is it possible to use Gutenberg on the front-end? 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744883175a2630330.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论