When using Breakdance, saving a post can leat to an error message (however the post is saved still). It's because the asset manager tries to load the stylesheets, but incorrectly detects the template header.
This also happens to the menu in the header editor.
Todos
[x] Add a hook to the shortcode handler to $include_styles so that styles can be included
Describe the bug
When using Breakdance, saving a post can leat to an error message (however the post is saved still). It's because the asset manager tries to load the stylesheets, but incorrectly detects the template header.
This also happens to the menu in the header editor.
Todos
asp/shortcode/include_styles
forisset($_GET['_breakdance_doing_ajax'])