diff --git a/packages/builder/src/components/userInterface/GenericBindingPopover.svelte b/packages/builder/src/components/userInterface/GenericBindingPopover.svelte index f084f08989..0b53ab91ad 100644 --- a/packages/builder/src/components/userInterface/GenericBindingPopover.svelte +++ b/packages/builder/src/components/userInterface/GenericBindingPopover.svelte @@ -26,9 +26,10 @@ const position = getCaretPosition() const toAdd = `{{ ${binding.path} }}` if (position.start) { - value = value.substring(0, position.start) - + toAdd - + value.substring(position.end, value.length); + value = + value.substring(0, position.start) + + toAdd + + value.substring(position.end, value.length) } else { value += toAdd }