Closed sagaii closed 3 years ago
Yes, the nextStatement
should be paired with previousStatement
. Neither can be declared alone.
can i custom block like this ?
or ublockly support custom block like this ?
Thanks for reminding me. The update 49c99a8 has added this feature.
ok,thanks
{ "type": "crvprogram_start", "message0": "Start", "nextStatement":null, "tooltip": "", "helpUrl":"" }
我按照上面的json样式,自定义了block,目前只显示一个圆角矩形(没有突出的小半圆)。
加上"previousStatement": null ,就有了下一条语句的连接点,当然上一条语句的缩进的小半圆连接点也有了。