mirror of
https://github.com/google/blockly.git
synced 2026-01-31 04:30:11 +01:00
Changed multiline field to use new configuration (#3044)
* Changed multilineinput field to new configuration.
This commit is contained in:
committed by
Sam El-Husseini
parent
093467aed1
commit
a8a8c320d5
@@ -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",
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user