Open bobbingwide opened 3 months ago
Question:
If server side rendered code includes some inline script, how does this get invoked in the block editor?
Consider the pros and cons of enabling the following attributes to the [nivo]
shortcode by copying and cobbling code from oik's Dynamic content block ( oik/contentblock ), and any other block that already supports these controls.
Attribute | Type |
---|---|
post_type | SelectControl |
orderby | SelectControl and TextControl |
order | SelectControl |
format | SelectControl and TextControl |
advanced parameters | TextControl eg thumbnail=80x80 |
thumbs | Toggle |
nav | Toggle |
pause | Number |
manual | Toggle |
numberposts | Number |
offset | Number |
post_mime_type | SelectControl |
post_parent | Number |
post_status | SelectControl |
id | Text |
posts_per_page | Number |
In oik-blocks I developed a prototype Nivo slider block called
oik-block/nivo
which generates a simple[nivo]
shortcode. Now I want to replace it with a block delivered by the oik-nivo-slider plugin.Requirements
oik-nivo-slider/nivo
[nivo]
shortcode - see https://www.oik-plugins.com/oik_shortcodes/nivo/Proposed solution