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
Add a comment  | 

2 Answers 2

Reset to default 1

Gutenberg 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