Closed bobbingwide closed 1 year ago
In #1 I produced a table documenting the possible values for the Depth attribute.
Now I need to find a way of providing this as help to the block user.
My first pass is to add a help= parameter to the <TextControl>. See https://developer.wordpress.org/block-editor/components/text-control/#development-guidelines
help=
<TextControl>
A future version may make use of the <RangeControl>. See https://developer.wordpress.org/block-editor/components/range-control/
<RangeControl>
The help text in v1.2.0 is "0 for all levels, 1-n for defined,-1 for flat."
In #1 I produced a table documenting the possible values for the Depth attribute.
Now I need to find a way of providing this as help to the block user.
My first pass is to add a
help=
parameter to the<TextControl>
. See https://developer.wordpress.org/block-editor/components/text-control/#development-guidelinesA future version may make use of the
<RangeControl>
. See https://developer.wordpress.org/block-editor/components/range-control/