When calls theme's style.css file with add_editor_style
inside gutenberg, background images are not loading properly.
Lets say:
#intro {
background: url(assets/main.png) ;
}
Its working properly on front-end like:
mydomain.com/wp-content/themes/mytheme/assets/main.png
But when in gutenberg, WordPress tries to load:
mydomain.com/wp-admin/assets/main.png
Am i missing something?
#intro { background: url('/wp-content/themes/mytheme/assets/main.png') ;}