mirror of
https://github.com/google/blockly.git
synced 2026-01-04 23:50:12 +01:00
Replace category colour pallet with correctly calculated colours.
This commit is contained in:
@@ -867,7 +867,7 @@ FactoryUtils.defineAndGetBlockTypes = function(blockDefsString, format) {
|
||||
FactoryUtils.injectCode = function(code, id) {
|
||||
var pre = document.getElementById(id);
|
||||
pre.textContent = code;
|
||||
code = pre.innerHTML;
|
||||
code = pre.textContent;
|
||||
code = prettyPrintOne(code, 'js');
|
||||
pre.innerHTML = code;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user