How can I programaticly open Gutenberg

Question

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
Severin 4 years 2020-03-25T16:52:20-05:00 0 Answers 110 views 0

Leave an answer

Browse
Browse