Comments (9)
The new editor uses "dashicons" which are actually SVG's.
The [bw_dash] shortcode should be extended to cater for SVG icons.
from oik-bob-bing-wide.
For the oik-block-opinions.php routine in oik-block, oik-bob-bing-wide may respond to a number of the filters it invokes.
from oik-bob-bing-wide.
Note: The [bw_graphviz]
shortcode appears to work with Gutenberg. Unlike [bw_csv]
it’s not sensitive to losing new line characters.
We need to change the message from the filter function responding to oik_block_gather_site_opinions
. Use [bw_rpt]
if it’s affected in the same way as [bw_csv]
from oik-bob-bing-wide.
Where dashicons are being generated in shortcodes the test cases will need changing. See icon=
parameter.
from oik-bob-bing-wide.
Blocks to be delivered by oik-bob-bing-wide, copied and cobbled from oik-blocks are listed below
new block name | transform from shortcode |
---|---|
oik-bbw/csv | [bw_csv] |
oik-bbw/dashicon | [bw_dash] |
oik-bbw/github | [github] |
oik-bbw/search | [bw_search] |
oik-bbw/wordpress | [wp] |
- Each block should support a transform from the
oik-block
prefixed version of the same name. - Each block should also support transform from the shortcode.
from oik-bob-bing-wide.
Whilst implementing support for blocks using the shared libraries we may as well take the opportunity to make oik-bob-bing-wide operate as a standalone plugin, using similar logic to that implemented for oik-css and uk-tides.
The [bw_csv] shortcode makes use of bw_array_get_from
. This needs to be included in the bobbfunc
shared library.
In order to use the [bw_csv]
shortcode we have to implement additional compatibility checks against an existing version of oik - loading oik's back level code in preference to the shared library code.
from oik-bob-bing-wide.
This was released in v1.34.0 on 30 Jan 2020 to oik-plugins.com
There are still problems when both blocks are used in a post and the [bw_csv] shortcode is used in a classic block. This has to be resolved when I update the documenation for the oik base plugin.
I’ll check whether or not it’s possible to use the shortcode inside the shortcode block.
The easiest thing would be to use convert to blocks and demonstrate that the transform worked.
from oik-bob-bing-wide.
The easiest thing would be to use convert to blocks and demonstrate that the transform worked.
That's what I did. Each CSV block that was generated contained unwanted
tags. But pressing enter in each block resolved the problem. I just had to delete a blank line or two and unset the Table heading toggle for those blocks that didn't have table headings.
from oik-bob-bing-wide.
Oik v4.0.0 has been released. The tables on the plugin page have been updated.
I’ll check whether or not it’s possible to use the shortcode inside the shortcode block.
Yes it is, but what’s the point?
from oik-bob-bing-wide.
Related Issues (20)
- Add totals= parameter to the [bw_csv] shortcode HOT 3
- Implement shortcode transforms to blocks
- CSV block server side rendering produces Error loading block. Invalid parameter(s): attributes HOT 2
- Update for compatibility with PHP 7.4
- Warning: number_format() expects parameter 1 to be float, string given HOT 1
- Update npm build for blocks to latest versions of node, npm etc. HOT 1
- bw_post and bw_page shortcodes no longer working HOT 1
- Add [guts] logic into the oik-bbw/wp block HOT 1
- Improve support for loading the CSV file from an attachment or file using the src attribute HOT 2
- Recover from a stupid plugin update HOT 1
- Update blocks to build using wp-scripts and register with block.json - starting with oik-bw/wp HOT 13
- Add a simple example for the CSV block HOT 1
- Add a simple example for the Search block HOT 1
- Rework the WordPress info block then internationalize HOT 6
- Refactor bw_dash and bw_github to use the shared library for class OIK_SVG_icons HOT 11
- Improve oik-bbw/github block to be Server Side Rendered HOT 3
- oik-bbw/csv block can get HTML error code 414 for too much data
- Re-enable RangeControl slider for dashicon's Icon size setting
- Support PHP 8.1 and PHP 8.2
- bw_get_notes_page_url() refers to an URL that no longer exists
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oik-bob-bing-wide.