From c2f30d4ca67536e7c56572270dd27abc11d99a55 Mon Sep 17 00:00:00 2001
From: amber-cd <30151077+amber-cd@users.noreply.github.com>
Date: Tue, 5 Mar 2019 08:39:20 -0500
Subject: [PATCH 1/7] Update toolbox.js
Changed style attribute to categorystyle.
---
core/toolbox.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/toolbox.js b/core/toolbox.js
index 4047c729c..4c93e4c66 100644
--- a/core/toolbox.js
+++ b/core/toolbox.js
@@ -334,7 +334,7 @@ Blockly.Toolbox.prototype.syncTrees_ = function(treeIn, treeOut, pathToMedia) {
}
}
- var styleName = childIn.getAttribute('style');
+ var styleName = childIn.getAttribute('categorystyle');
var colour = childIn.getAttribute('colour');
if (colour && styleName) {
From a655e48841307380ae540515db5722b79d6332af Mon Sep 17 00:00:00 2001
From: amber-cd <30151077+amber-cd@users.noreply.github.com>
Date: Tue, 5 Mar 2019 08:42:31 -0500
Subject: [PATCH 2/7] Update playground.html
---
tests/playground.html | 32 ++++++++++++++++----------------
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/tests/playground.html b/tests/playground.html
index 94bf7e2ac..66d4e935c 100644
--- a/tests/playground.html
+++ b/tests/playground.html
@@ -421,7 +421,7 @@ h1 {
Variables category uses untyped variable blocks.
See https://developers.google.com/blockly/guides/create-custom-blocks/variables#untyped_variable_blocks for more information. -->
-
+
@@ -430,7 +430,7 @@ h1 {
-
+
@@ -460,7 +460,7 @@ h1 {
-
+
123
@@ -561,7 +561,7 @@ h1 {
-
+
@@ -663,7 +663,7 @@ h1 {
-
+
@@ -715,7 +715,7 @@ h1 {
-
+
@@ -754,15 +754,15 @@ h1 {
-
-
+
+
-
+
@@ -771,7 +771,7 @@ h1 {
-
+
@@ -801,7 +801,7 @@ h1 {
-
+
123
@@ -902,7 +902,7 @@ h1 {
-
+
@@ -1004,7 +1004,7 @@ h1 {
-
+
@@ -1056,7 +1056,7 @@ h1 {
-
+
@@ -1095,8 +1095,8 @@ h1 {
-
-
+
+