This commit is contained in:
Face
2025-07-25 18:55:28 +03:00
parent 558bb2fc1b
commit 1576ef1465
10 changed files with 271 additions and 2 deletions

View File

@@ -25,6 +25,7 @@ const OL = preload("res://Scenes/Tags/ol.tscn")
const LI = preload("res://Scenes/Tags/li.tscn")
const SELECT = preload("res://Scenes/Tags/select.tscn")
const OPTION = preload("res://Scenes/Tags/option.tscn")
const TEXTAREA = preload("res://Scenes/Tags/textarea.tscn")
const MIN_SIZE = Vector2i(750, 200)
@@ -85,6 +86,14 @@ line breaks
<option value=\"test5\">Test 5</option>
</select>
<textarea />
<textarea cols=\"30\" />
<textarea rows=\"2\" />
<textarea maxlength=\"20\" />
<textarea readonly=\"true\">le skibidi le toilet</textarea>
<textarea disabled=\"true\" value=\"DISABLED\" />
<textarea placeholder=\"this is a placeholder...\" />
<!-- action, method, and type=submit are for when we implement Lua -->
<form action=\"/submit\" method=\"POST\">
<span>Name:</span>
@@ -479,6 +488,9 @@ func create_element_node(element: HTMLParser.HTMLElement) -> Control:
"option":
node = OPTION.instantiate()
node.init(element)
"textarea":
node = TEXTAREA.instantiate()
node.init(element)
_:
return null