Changed multiline field to use new configuration (#3044)

* Changed multilineinput field to new configuration.
This commit is contained in:
Beka Westberg
2019-09-18 16:30:17 -07:00
committed by Sam El-Husseini
parent 093467aed1
commit a8a8c320d5
4 changed files with 25 additions and 12 deletions

View File

@@ -272,6 +272,19 @@ Blockly.defineBlocksWithJsonArray([ // BEGIN JSON EXTRACT
"tooltip": "",
"helpUrl": ""
},
{
"type": "test_fields_multilinetext",
"message0": "code %1",
"args0": [
{
"type": "field_multilinetext",
"name": "CODE",
"text": "default1\ndefault2"
}
],
"style": "math_blocks",
"tooltip": "test tooltip"
},
{
"type": "test_fields_checkbox",
"message0": "checkbox %1",

View File

@@ -1435,6 +1435,7 @@ var spaghettiXml = [
<block type="test_fields_colour"></block>
<block type="test_fields_colour_options"></block>
<block type="test_fields_text_input"></block>
<block type="test_fields_multilinetext"></block>
<block type="test_fields_variable"></block>
<button text="randomize label text" callbackKey="randomizeLabelText"></button>
<sep gap="12"></sep>