-
Notifications
You must be signed in to change notification settings - Fork 0
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
Support for WordPress 5.0 and the new editor - Gutenberg #9
Comments
…ent priority 8 to enable [bw_geshi] to continue to work in a Classic block
Note: The problem with |
Gutenberg v2.7.0 didn't make a difference, so I've applied oik-css v0.9.1 |
The solution would appear to be to create a Geshi block, similar to the CSV and CSS blocks prototyped in https:/github.com/bobbingwide/oik-blocks. |
As noted in bobbingwide/oik-blocks#18 (comment) the GeSHi block needs to accept a default value of |
In order to be able to close this I either have to release oik-blocks formally, or add the relevant blocks to each plugin. I.e. Add the CSS and GeSHi blocks to oik-css. |
OK, so I've prototyped adding the CSS and GeSHi blocks to oik-css. I used a prefix of |
And what do I have to do about oik-css saying it's dependent upon oik? |
…xt - now imported from wp.blockEditor
…eaControl to allow transformation from CSS block
Note: The transform from logic added to allow transform from core/paragraph, core/code and core/preformatted was done incorrectly and prevented the transform from oik-block/css. |
This was released in v1.0.0 on 30th January 2020. Better late than never? |
Since early 2017 a new editor has been under development. Code named Gutenberg this new editor is being developed as a feature plugin. It is expected to be merged into core for WordPress 5.0.
We need to be aware of Gutenberg and to attempt to be compatible with it.
Actually, it's the other way round. Gutenberg needs to be backward compatible with us.
According to Gutenberg's README.
That's not the case right now.
The following shortcodes, which depend on the new line character being respected in content, may not work correctly after being manipulated by the Gutenberg editor
[bw_css]
[bw_geshi]
<br />
tags in outputAnalysis
The reason we see br's for the [bw_geshi] output is because
gutenberg_wpautop()
introduces them butbw_geshi()
doesn't strip them.We don't see them in [bw_css] because the
oik_css()
function removes them usingbw_remove_unwanted_tags()
.The text was updated successfully, but these errors were encountered: