New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chart block example doesn't show a chart #16
Comments
Changing the block registration so that the dependencies for the editor script includes PS. 2021/10/04 - No it didn't. Read on. |
Interesting, with v0.4.0 the example works on oik-plugins.co.uk but not oik-plugins.com or herbmiller.me
It appears to be related to the version of Gutenberg that's activated. Got this from oik-options > plugins in cwiccer.com when getting ready to update sb-chart-block
|
It works up to Gutenberg 11.3.0 |
To analyse the problem I tried to build the latest version of Gutenberg. I couldn't get the latest version of the Gutenberg source to build.
Another problem is that |
I asked on the #core-editor channel and was pointed to a dev note https://make.wordpress.org/core/2021/06/29/blocks-in-an-iframed-template-editor/ I know which line of code isn't working. It's in the
When in the iframe, which is used for example, template editor and site editor, the given element can't be found; I didn't understand the |
I've got it working again using a technique suggested by @getdave.
which replaces
I now need to retest the behaviour in
|
Delivered in v0.4.1 |
I can't find any evidence to prove it but I'm sure that the example used to work.
It doesn't work with the latest build of the code (v0.4.0 ), nor does it work with the version released to wordpress.org
The text was updated successfully, but these errors were encountered: