【发布时间】:2019-01-08 12:29:12
【问题描述】:
我需要更改工具箱的背景 我试图改变(它不工作)
<style>
#blockly {
position: fixed;
}
#blocklyMask {
background-color: #f0f8ff;
}
</style>
另外我需要改变方块的边框颜色。尝试使用笔画参数没有进展
Blockly.defineBlocksWithJsonArray([{
"type": "ball_number",
"lastDummyAlign0": "CENTRE",
"message0": "ball_number%1",
"strokeColour": "#00ff00",
"strokeWidth": "5",
"args0": [{
"type": "field_number",
"name": "NUMBER",
"value": 0,
"min": 1,
"max": 100
}],
"previousStatement": "ball_attribute",
"nextStatement": "ball_attribute",
"colour": "#48d1cc",
"tooltip": "Type the ball number. In range [1...100]",
"helpUrl": ""
},
我找到了这个https://groups.google.com/forum/#!topic/blockly/CvcHpS5v9bA 但它适用于 ios
【问题讨论】:
标签: blockly