From 9def22c292917d0111e6fe4e73cc6db1b5ed3fc0 Mon Sep 17 00:00:00 2001 From: Karl Hobley Date: Mon, 18 Jan 2021 13:30:18 +0000 Subject: [PATCH] Implement adding new list block children --- client/src/entrypoints/admin/telepath/blocks.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/src/entrypoints/admin/telepath/blocks.js b/client/src/entrypoints/admin/telepath/blocks.js index 8546ac3a59..d4441df373 100644 --- a/client/src/entrypoints/admin/telepath/blocks.js +++ b/client/src/entrypoints/admin/telepath/blocks.js @@ -351,6 +351,10 @@ class ListBlock { if (initialError) { this.setError(initialError); } + + dom.find('button').click(() => { + this.append(this.blockDef.initialChildState); + }); } clear() {