mirror of
https://github.com/google/blockly.git
synced 2026-01-08 09:30:06 +01:00
Adding test cases for Unicode in blocks. (#1646)
Adds test blocks to demonstrate capabilities. Stopped short of adding BiDi override characters. I added to the toolbox category "Images". It isn't really images, but it didn't seem worth making a separate category at this stage.
This commit is contained in:
committed by
GitHub
parent
09316c6bd4
commit
2358fe6fd5
@@ -1155,6 +1155,14 @@ h1 {
|
||||
<block type="image_large"></block>
|
||||
<block type="image_missing"></block>
|
||||
<block type="test_with_lots_of_network_icons"></block>
|
||||
<label text="Unicode & Emojis"></label>
|
||||
<block type="emoji_label_robot_face"></block>
|
||||
<block type="text">
|
||||
<field name="TEXT">Robot face in text field: 🤖</field>
|
||||
</block>
|
||||
<block type="text">
|
||||
<field name="TEXT">Zalgo in text field: B̛̻̦̬̘̰͎̥̈̔͊͞ͅl̡͖̫̺̬̖̣̳̃̀́͑͑̕͟͠͝o̢̹͙̮̫͔͋̉̊̑̿̽̚c̸̹̹̜͙̹̠͋̒͑̊̇͝k̡͉̫͇̖̳͖̊͒́̆̄̎̂̔̕͜͞l̰̙̞̳̩̠͖̯̀̆̈́̿̈̓͗y̨̡̟͇̮͈̬̙̲̏̅̀͘͠</field>
|
||||
</block>
|
||||
</category>
|
||||
</xml>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user