Closed bobbingwide closed 2 years ago
Blocks required to replace shortcodes which would break are identified in the estimates spreadsheet. A number of them are referenced below
Shortcode | Block |
---|---|
Bw_css | oik-block/css |
Bw_csv | oik-block/csv |
Bw_geshi | oik-block/geshi |
Bw_graphviz | oik-block/graphviz |
WordPress core provides around 25 blocks and a multitude of different embeds.
Cor blimey. That was some time ago!
I've updated the references in the initial comment.
I'm closing this issue therefore.
Background
Requirements summary
Taken from a summary table of known blocks/modules for the above mentioned page builders the following blocks are required.
Notes:
Proposed development process
Determining default parameters
Many of the oik shortcodes determine the values that they use from a variety of sources.
The block should be sensitive to this.
For example. The default processing for [bw_show_googlemap] is to display the map associated with the company's primary address as stored in the global options field set bw_option. The alt= parameter allows selection of a different address.
When oik-user is activated the address is determined from the defined user, which can be specified as a parameter or default to the post's author.
Most values can be overridden using shortcode parameters. Parameter overrides do not change the stored values. We need to determine whether or not the stored values an be updated directly from the block. If not, what mechanism should we provide to allow the user to access those settings.