mirror of
https://github.com/google/blockly.git
synced 2025-12-16 06:10:12 +01:00
Add grid to code demo.
This commit is contained in:
@@ -367,7 +367,12 @@ Code.init = function() {
|
||||
|
||||
var toolbox = document.getElementById('toolbox');
|
||||
Blockly.inject(document.getElementById('content_blocks'),
|
||||
{media: '../../media/',
|
||||
{grid:
|
||||
{spacing: 25,
|
||||
length: 3,
|
||||
colour: '#ccc',
|
||||
snap: true},
|
||||
media: '../../media/',
|
||||
rtl: rtl,
|
||||
toolbox: toolbox});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user