bobbingwide / oik-shortcodes

Shortcode, block and API server
https://www.oik-plugins.com/oik-plugins/oik-shortcode-server/
GNU General Public License v2.0
1 stars 0 forks source link

Improve [blocks] shortcode to support various use cases #70

Open bobbingwide opened 5 years ago

bobbingwide commented 5 years ago

The [blocks] shortcode, developed as part of #61 has multiple uses. We need to extend the ad-hoc usage... where the block type names are passed to the block, to make it easier to create documentation about Transforms, Nested blocks and other stuff.

This issue has been raised to discuss the short and long options.

Short term

The style of the list to be displayed depends on the context.

Examples

Transforms to: Paragraph, List

More often than not we won't want to display the block's thumbnail. And we don't yet want to display the block's icon since it's not available in the server.

Long term

In the longer term we might be able to automate quite a few of these lists.

bobbingwide commented 5 years ago

Note: The simple list of comma separated links can be mostly achieved by CSS styling span.bw_list span.summary { display:none; }