mirror of
https://github.com/google/blockly.git
synced 2026-01-07 00:50:27 +01:00
Support multiple Blockly instances.
This commit is contained in:
@@ -67,11 +67,14 @@ function start() {
|
||||
length: 3,
|
||||
colour: '#ccc',
|
||||
snap: true},
|
||||
readOnly: false,
|
||||
realtime: false,
|
||||
realtimeOptions:
|
||||
{clientId: 'YOUR CLIENT ID GOES HERE',
|
||||
chatbox: {elementId: 'chatbox'},
|
||||
collabElementId: 'collaborators'}});
|
||||
collabElementId: 'collaborators'},
|
||||
scrollbars: true
|
||||
});
|
||||
if (Blockly.Realtime.isEnabled()) {
|
||||
enableRealtimeSpecificUi();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user