I am creating a block theme from scratch. How do I make the site editor page look like the actual page?

[ad_1]

I'm still wrapping my head around block theming. I'm writing code to create this. I can't deal with the admin-page-building process. I have a theme I am creating but it doesn't visually look as it should when in the site editor. How do I resolve that?

[ad_2]
3 Comments
  1. Technically, it’s almost impossible because of the way how Gutenberg works. Actually, that’s why many page builders use separate rendering in the iframes.

  2. I have the same question! My block attributes have an `example` section, but I’m not sure what determines if a block preview will be generated in the editor and the site editor.

    Edit: I’m asking as a plugin developer who’s building blocks

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer