Giter VIP home page Giter VIP logo

Comments (9)

bobbingwide avatar bobbingwide commented on June 24, 2024

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.

bobbingwide avatar bobbingwide commented on June 24, 2024

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.

bobbingwide avatar bobbingwide commented on June 24, 2024

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.

bobbingwide avatar bobbingwide commented on June 24, 2024

Where dashicons are being generated in shortcodes the test cases will need changing. See icon= parameter.

from oik-bob-bing-wide.

bobbingwide avatar bobbingwide commented on June 24, 2024

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.

bobbingwide avatar bobbingwide commented on June 24, 2024

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.

bobbingwide avatar bobbingwide commented on June 24, 2024

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.

bobbingwide avatar bobbingwide commented on June 24, 2024

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.

bobbingwide avatar bobbingwide commented on June 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.