mirror of
https://github.com/scratchfoundation/scratch-blocks.git
synced 2025-08-13 22:49:02 -04:00
Open field cache and leave it open
This commit is contained in:
parent
56ac9e375b
commit
f86b757635
1 changed files with 4 additions and 0 deletions
|
@ -58,6 +58,10 @@ Blockly.inject = function(container, opt_options) {
|
|||
var subContainer = goog.dom.createDom('div', 'injectionDiv');
|
||||
container.appendChild(subContainer);
|
||||
|
||||
// Open the Field text cache and leave it open. See this issue for more information
|
||||
// https://github.com/LLK/scratch-blocks/issues/1004
|
||||
Blockly.Field.startCache();
|
||||
|
||||
var svg = Blockly.createDom_(subContainer, options);
|
||||
|
||||
// Create surfaces for dragging things. These are optimizations
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue