Skip to content

Commit

Permalink
Added text replacement block
Browse files Browse the repository at this point in the history
  • Loading branch information
klein0r committed Dec 4, 2023
1 parent 8d61e6d commit 30df57d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ NodeJS 16.x is required
* (klein0r) messageToAsync was not working without options
* (klein0r) Added timeout and custom options for sendToAsync
* (klein0r) Fixed valid switch statement expressions
* (klein0r) Added text replacement block

### 7.1.6 (2023-10-24)
* (bluefox) Fixed pushover rules block
Expand Down
17 changes: 17 additions & 0 deletions src/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,23 @@
<category name="{catText}" colour="160">
<block type="text"></block>
<block type="text_newline"></block>
<block type="text_replace">
<value name="FROM">
<shadow type="text">
<field name="TEXT">x</field>
</shadow>
</value>
<value name="TO">
<shadow type="text">
<field name="TEXT">y</field>
</shadow>
</value>
<value name="TEXT">
<shadow type="text">
<field name="TEXT">text</field>
</shadow>
</value>
</block>
<block type="text_multiline"></block>
<block type="text_join"></block>
<block type="text_append">
Expand Down

0 comments on commit 30df57d

Please sign in to comment.