-
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
Create GeSHi block - server side rendered - for the [bw_geshi] shortcode #18
Comments
This information may help someone attempting to debug their own server side rendered block.
This was the case when I first developed the geshi block. I'd only written some JS; none of the PHP. |
If you see |
|
The reason this happens is because the shortcode block is rendered using
|
It appears I need to change the oik_geshi() code to accept a default value of "none" for the lang. The server side rendering logic doesn't always want to pass "lang=none" from the SelectControl. |
The logic for this block has been copied to https://github.com/bobbingwide/oik-css which is being converted to a standalone plugin for two blocks |
The GeSHi block is now delivered by the oik-css plugin |
Requirements
Proposed solution
oik-block/geshi
- GeSHi - Generic Syntax HighlightingThis block to be added to the list of experimental blocks in #16
The text was updated successfully, but these errors were encountered: