diff --git a/src/core/Ingredient.mjs b/src/core/Ingredient.mjs index dda66b8fb3..00dd5f6d38 100755 --- a/src/core/Ingredient.mjs +++ b/src/core/Ingredient.mjs @@ -95,6 +95,7 @@ class Ingredient { case "binaryString": case "binaryShortString": case "editableOption": + case "editableOptionShort": return Utils.parseEscapedChars(data); case "byteArray": if (typeof data == "string") { diff --git a/src/core/operations/Split.mjs b/src/core/operations/Split.mjs index 88bf8aec8e..1340a38300 100644 --- a/src/core/operations/Split.mjs +++ b/src/core/operations/Split.mjs @@ -26,12 +26,12 @@ class Split extends Operation { this.args = [ { "name": "Split delimiter", - "type": "editableOption", + "type": "editableOptionShort", "value": SPLIT_DELIM_OPTIONS }, { "name": "Join delimiter", - "type": "editableOption", + "type": "editableOptionShort", "value": JOIN_DELIM_OPTIONS } ]; diff --git a/src/web/HTMLIngredient.mjs b/src/web/HTMLIngredient.mjs index d026e1f334..bb01d7de2e 100755 --- a/src/web/HTMLIngredient.mjs +++ b/src/web/HTMLIngredient.mjs @@ -165,6 +165,35 @@ class HTMLIngredient { this.manager.addDynamicListener("#" + this.id, "change", this.populateOptionChange, this); break; case "editableOption": + html += `