最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

block editor - How can I programaticly open Gutenberg

programmeradmin2浏览0评论

I want to edit content in frontend and backend with the Gutenberg editor in a popup window. I pass the content to the editor with JavaScript, open it, edit the content in Gutenberg and when I close it I pass the content to a variable again.

Now several questions arise:

  • When loading WordPress with a page without page or cpt-page wp.data/wp.block is not loaded. Also not with the plugin "Gutenberg Ramp" with which Gutenberg should always be loaded.

Therefore the question, is there a possibility to load Gutenberg with the hook init?

If so, how do I start Gutenberg proramaticly?

Many thanks for tips

Severin

发布评论

评论列表(0)

  1. 暂无评论